Skip to content

Commit

Permalink
refactor(grunt): add build task and use in default
Browse files Browse the repository at this point in the history
  • Loading branch information
seriema committed Oct 19, 2014
1 parent 16a1f13 commit f9608f1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,15 @@ module.exports = function (grunt) {
'karma'
]);

grunt.registerTask('_publish', [
grunt.registerTask('build', [
'clean',
'concat',
'uglify',
'concat',
'ngAnnotate',
'uglify'
]);

grunt.registerTask('_publish', [
'build',
'changelog',
'nugetpack',
'bump-commit',
Expand All @@ -232,7 +236,6 @@ module.exports = function (grunt) {

grunt.registerTask('default', [
'newer:jshint',
'test',
'build'
'test'
]);
};

0 comments on commit f9608f1

Please sign in to comment.