]> source.dussan.org Git - sonarqube.git/commitdiff
fix web build
authorStas Vilchik <vilchiks@gmail.com>
Fri, 29 May 2015 08:02:13 +0000 (10:02 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 29 May 2015 08:02:13 +0000 (10:02 +0200)
server/sonar-web/Gruntfile.coffee

index 3ece2594818bfa6168ceacb0fed071417d53c3b8..9b8eb566cc9cd3f8ad9be25ea42fd7f89fa9d5df 100644 (file)
@@ -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: