Skip to content

Commit

Permalink
Add support of injection grunt tasks into mean.
Browse files Browse the repository at this point in the history
For more information see: https://github.com/AlmogBaku/grunt-mean
  • Loading branch information
AlmogBaku committed Dec 10, 2014
1 parent 6780d06 commit 8613906
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ module.exports = function(grunt) {
unit: {
configFile: 'karma.conf.js'
}
},
mean: {
main: ['packages/**/meanGruntfile.js', '!packages/**/node_modules/**']
}
});

Expand All @@ -115,9 +118,9 @@ module.exports = function(grunt) {

//Default task(s).
if (process.env.NODE_ENV === 'production') {
grunt.registerTask('default', ['clean', 'cssmin', 'uglify', 'concurrent']);
grunt.registerTask('default', ['clean', 'mean', 'cssmin', 'uglify', 'concurrent']);
} else {
grunt.registerTask('default', ['clean', 'jshint', 'csslint', 'concurrent']);
grunt.registerTask('default', ['clean', 'mean', 'jshint', 'csslint', 'concurrent']);
}

//Test task.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.5.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-mean": "~0.1.0",
"grunt-env": "^0.4.1",
"grunt-nodemon": "^0.3.0",
"load-grunt-tasks": "^0.6.0",
Expand Down
1 change: 1 addition & 0 deletions tools/grunt/grunt.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.5.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-mean": "~0.1.0",
"grunt-env": "^0.4.1",
"grunt-nodemon": "^0.3.0",
"load-grunt-tasks": "^0.6.0",
Expand Down

0 comments on commit 8613906

Please sign in to comment.