diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-05-20 10:54:59 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-05-22 15:53:42 +0200 |
commit | e009561a5e3210480c7bef0ee20cebbc83d531bc (patch) | |
tree | f12b4c8f21213d882cd3ca1427cc7fc48b2df4b6 /server/sonar-web/Gruntfile.coffee | |
parent | 06cafc9839cb231a8f71e1d1c41da43ac1dc0139 (diff) | |
download | sonarqube-e009561a5e3210480c7bef0ee20cebbc83d531bc.tar.gz sonarqube-e009561a5e3210480c7bef0ee20cebbc83d531bc.zip |
SONAR-6565 refactor users page
Diffstat (limited to 'server/sonar-web/Gruntfile.coffee')
-rw-r--r-- | server/sonar-web/Gruntfile.coffee | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/server/sonar-web/Gruntfile.coffee b/server/sonar-web/Gruntfile.coffee index b9431a16328..82a5708b8f9 100644 --- a/server/sonar-web/Gruntfile.coffee +++ b/server/sonar-web/Gruntfile.coffee @@ -158,6 +158,10 @@ module.exports = (grunt) -> name: 'apps/markdown/app' out: '<%= ASSETS_PATH %>/js/apps/markdown/app.js' + users: options: + name: 'apps/users/app' + out: '<%= ASSETS_PATH %>/js/apps/users/app.js' + parallel: build: @@ -178,6 +182,7 @@ module.exports = (grunt) -> 'requirejs:nav' 'requirejs:issueFilterWidget' 'requirejs:markdown' + 'requirejs:users' ] casper: options: grunt: true @@ -197,6 +202,7 @@ module.exports = (grunt) -> 'casper:treemap' 'casper:ui' 'casper:workspace' + 'casper:users' ] @@ -254,6 +260,9 @@ module.exports = (grunt) -> '<%= BUILD_PATH %>/js/apps/markdown/templates.js': [ '<%= SOURCE_PATH %>/js/apps/markdown/templates/**/*.hbs' ] + '<%= BUILD_PATH %>/js/apps/users/templates.js': [ + '<%= SOURCE_PATH %>/js/apps/users/templates/**/*.hbs' + ] clean: @@ -299,15 +308,21 @@ module.exports = (grunt) -> port: expressPort testCoverageLight: options: + concise: false verbose: true + 'no-colors': false src: ['src/test/js/**/*<%= grunt.option("spec") %>*.js'] single: options: + concise: false verbose: true + 'no-colors': false src: ['src/test/js/<%= grunt.option("spec") %>-spec.js'] testfile: options: + concise: false verbose: true + 'no-colors': false src: ['<%= grunt.option("file") %>'] apiDocumentation: @@ -340,6 +355,8 @@ module.exports = (grunt) -> src: ['src/test/js/ui*.js'] workspace: src: ['src/test/js/workspace*.js'] + users: + src: ['src/test/js/users*.js'] uglify: build: @@ -402,7 +419,7 @@ module.exports = (grunt) -> tasks: ['copy:js', 'concat:build', 'copy:assets-all-js'] handlebars: - files: '<%= SOURCE_PATH %>/hbs/**/*.hbs' + files: '<%= SOURCE_PATH %>/**/*.hbs' tasks: ['handlebars:build', 'copy:assets-all-js'] |