Skip to content

Commit

Permalink
Use ng-annotate in build process
Browse files Browse the repository at this point in the history
  • Loading branch information
manuquentin committed Sep 25, 2014
1 parent 070590a commit 151a8a7
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 151a8a7

Please sign in to comment.