Skip to content

Commit 81d9996

Browse files
committed
Gruntfile.js: clean up tasks.
1 parent 1b423b6 commit 81d9996

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Gruntfile.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ module.exports = function(grunt) {
9191
"var parserlib = require('parserlib');\n",
9292
footer: "\nexports.CSSLint = CSSLint;"
9393
},
94-
files: {
95-
"<%= build_dir %>/csslint-node.js": ["<%= csslint_files %>"]
96-
}
94+
src: "<%= csslint_files %>",
95+
dest: "<%= build_dir %>/csslint-node.js"
9796
},
9897
node_cli: {
9998
options: {
@@ -215,13 +214,12 @@ module.exports = function(grunt) {
215214
grunt.loadTasks("tasks");
216215

217216
// Default task.
218-
grunt.registerTask("default", ["build", "test"]);
217+
grunt.registerTask("default", ["test"]);
219218

220219
grunt.registerTask("build", ["clean", "concat", "includereplace"]);
221220

222-
//Alias for
221+
// Alias for
223222
grunt.registerTask("dist", "build");
224-
grunt.registerTask("lint", "jshint");
225223

226224
// Testing
227225
grunt.registerTask("test", ["build", "jshint", "yuitest"]);

0 commit comments

Comments
 (0)