Create a build task that simply builds an output
Showing
1 changed file
with
6 additions
and
3 deletions
... | @@ -336,13 +336,16 @@ module.exports = function(grunt) { | ... | @@ -336,13 +336,16 @@ module.exports = function(grunt) { |
336 | // Launch a Development Environment | 336 | // Launch a Development Environment |
337 | grunt.registerTask('dev', 'Launching Dev Environment', 'concurrent:dev'); | 337 | grunt.registerTask('dev', 'Launching Dev Environment', 'concurrent:dev'); |
338 | 338 | ||
339 | // Default task. | 339 | grunt.registerTask('build', |
340 | grunt.registerTask('default', | ||
341 | ['clean', | 340 | ['clean', |
342 | 'test', | ||
343 | 'concat', | 341 | 'concat', |
344 | 'uglify']); | 342 | 'uglify']); |
345 | 343 | ||
344 | // Default task. | ||
345 | grunt.registerTask('default', | ||
346 | ['test', | ||
347 | 'build']); | ||
348 | |||
346 | // The test task will run `karma:saucelabs` when running in travis, | 349 | // The test task will run `karma:saucelabs` when running in travis, |
347 | // otherwise, it'll default to running karma in chrome. | 350 | // otherwise, it'll default to running karma in chrome. |
348 | // You can specify which browsers to build with by using grunt-style arguments | 351 | // You can specify which browsers to build with by using grunt-style arguments | ... | ... |
-
Please register or sign in to post a comment