diff options
-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: |