Skip to content

Commit

Permalink
Merge pull request #54 from marmelab/ng_anotate
Browse files Browse the repository at this point in the history
[RFR] Use ng-annotate in build process
  • Loading branch information
manuquentin committed Sep 25, 2014
2 parents 070590a + 151a8a7 commit efc2955
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,14 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-ng-annotate');
grunt.loadNpmTasks('grunt-concurrent');
grunt.loadNpmTasks('grunt-karma');

// register tasks
grunt.registerTask('test', ['karma']);
grunt.registerTask('build:dev', ['concurrent:assets_all_dev', 'copy:css_dev', 'concat:css', 'clean']);
grunt.registerTask('build', ['requirejs:prod', 'uglify', 'compass:prod', 'cssmin:combine', 'clean:build']);
grunt.registerTask('build', ['requirejs:prod', 'ngAnnotate', 'uglify', 'compass:prod', 'cssmin:combine', 'clean:build']);

// register default task
grunt.registerTask('default', ['build:dev', 'concurrent:connect_watch']);
Expand Down
Loading

0 comments on commit efc2955

Please sign in to comment.