Skip to content

Commit 6d77218

Browse files
committed
Add Grunt task to simplify dev process
The current 'test' task unminifies all the currently minified files, creating false changes. Ideally there could be a dev task that does not affect minified files at all.
1 parent 59c9fc3 commit 6d77218

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
@@ -56,7 +56,7 @@ module.exports = function (grunt) {
5656
}
5757
});
5858

59-
// Add options for concat ang ugligy
59+
// Add options for concat and uglify
6060
filesToBuild.concat.options = {
6161
banner: "<%= meta.banner %>"
6262
};
@@ -174,6 +174,7 @@ module.exports = function (grunt) {
174174

175175
grunt.registerTask("build", ["version", "concat", "uglify"]);
176176
grunt.registerTask('test', ['concat', 'jshint', 'qunit']);
177+
grunt.registerTask('test-uglify', ['concat', 'uglify', 'jshint', 'qunit']);
177178
grunt.registerTask("default", ["test", "build"]);
178179

179180
};

0 commit comments

Comments
 (0)