diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-05-29 10:02:13 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-05-29 10:02:13 +0200 |
commit | b0f14fa5862298c7296eb9cd61f6ca3de71b3d34 (patch) | |
tree | 8e8b35c8c4ed6e4f11a1c0a6205a7c701091bee5 | |
parent | 383cd26cf9b61f0267c7e5208bb711669498cf6d (diff) | |
download | sonarqube-b0f14fa5862298c7296eb9cd61f6ca3de71b3d34.tar.gz sonarqube-b0f14fa5862298c7296eb9cd61f6ca3de71b3d34.zip |
fix web build
-rw-r--r-- | server/sonar-web/Gruntfile.coffee | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/server/sonar-web/Gruntfile.coffee b/server/sonar-web/Gruntfile.coffee index 3ece2594818..9b8eb566cc9 100644 --- a/server/sonar-web/Gruntfile.coffee +++ b/server/sonar-web/Gruntfile.coffee @@ -15,9 +15,6 @@ module.exports = (grunt) -> ASSETS_PATH: grunt.option("assetsDir") || './src/main/webapp' BUILD_PATH: './build' - APP: grunt.option 'app' - WIDGET: grunt.option 'widget' - less: build: options: @@ -121,11 +118,11 @@ module.exports = (grunt) -> app: options: name: 'apps/<%= grunt.option("app") %>/app' - out: '<%= ASSETS_PATH %>/js/apps/<%= APP %>/app.js' + out: '<%= ASSETS_PATH %>/js/apps/<%= grunt.option("app") %>/app.js' widget: options: name: 'widgets/<%= grunt.option("widget") %>/widget' - out: '<%= ASSETS_PATH %>/js/widgets/<%= WIDGET %>/widget.js' + out: '<%= ASSETS_PATH %>/js/widgets/<%= grunt.option("widget") %>/widget.js' concurrent: |