Skip to content

Commit e75bbb9

Browse files
committed
Add Grunt minify command
1 parent 1cc0af9 commit e75bbb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ module.exports = function (grunt) {
9797
grunt.loadNpmTasks('grunt-contrib-jshint');
9898
// Default task(s).
9999
grunt.registerTask('build', ['requirejs', 'amdclean', 'prepend:./src/amdclean.js']);
100-
grunt.registerTask('default', ['build', 'jshint:amdclean', 'uglify']);
100+
grunt.registerTask('default', ['build', 'jshint:amdclean', 'test']);
101101

102102
grunt.registerTask('lint', ['build', 'jshint:amdclean']);
103+
grunt.registerTask('minify', ['build', 'jshint:amdclean', 'test', 'uglify']);
103104

104105

105106
grunt.registerTask('test', 'Runs Jasmine on the Spec File', function() {

0 commit comments

Comments
 (0)