From: Stas Vilchik Date: Fri, 29 May 2015 08:02:13 +0000 (+0200) Subject: fix web build X-Git-Tag: 5.2-RC1~1781 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b0f14fa5862298c7296eb9cd61f6ca3de71b3d34;p=sonarqube.git fix web build --- 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: