Skip to content

Commit

Permalink
Revert "Grunt: Replace custom rimraf-based clean task with grunt-cont…
Browse files Browse the repository at this point in the history
…rib's clean task"

This reverts commit 38aac37.

As long as grunt-contrib has a coffeescript dependency, we won't use it.
  • Loading branch information
jzaefferer committed Jun 16, 2012
1 parent 7c74af7 commit 4f3c1e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions build/tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ grunt.registerTask( "copy_themes", function() {
});
});

grunt.registerTask( "clean", function() {
require( "rimraf" ).sync( "dist" );
});

grunt.registerTask( "authors", function() {
var done = this.async();

Expand Down
2 changes: 0 additions & 2 deletions grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ uiFiles.forEach(function( file ) {
});

// grunt plugins
grunt.loadNpmTasks( "grunt-contrib" );
grunt.loadNpmTasks( "grunt-css" );
grunt.loadNpmTasks( "grunt-html" );
grunt.loadNpmTasks( "grunt-compare-size" );
Expand Down Expand Up @@ -132,7 +131,6 @@ grunt.initConfig({
bannerCSS: createBanner( cssFiles )
},
compare_size: compareFiles,
clean: ["dist"],
concat: {
ui: {
src: [ "<banner:meta.bannerAll>", stripBanner( uiFiles ) ],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"dependencies": {},
"devDependencies": {
"grunt": "0.3.9",
"grunt-contrib": "0.0.7",
"grunt-css": "0.2.0",
"grunt-compare-size": "0.1.4",
"grunt-html": "0.1.1",
"grunt-junit": "0.1.4",
"request": "2.9.153",
"rimraf": "2.0.1",
"testswarm": "0.2.3"
},
"keywords": []
Expand Down

0 comments on commit 4f3c1e9

Please sign in to comment.