diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-06-16 14:36:57 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-06-16 14:39:46 +0200 |
commit | 4f3c1e9796e2e7bbccc8c227160ee7fec9d05208 (patch) | |
tree | b5d806c029ce6e25af86c09da17b3740557db80d | |
parent | 7c74af7b224ab1b016c644bdc9bc419ea82c75f0 (diff) | |
download | jquery-ui-4f3c1e9796e2e7bbccc8c227160ee7fec9d05208.tar.gz jquery-ui-4f3c1e9796e2e7bbccc8c227160ee7fec9d05208.zip |
Revert "Grunt: Replace custom rimraf-based clean task with grunt-contrib's clean task"
This reverts commit 38aac3770cc1e22e5e7225b90c47b37d857be13a.
As long as grunt-contrib has a coffeescript dependency, we won't use it.
-rw-r--r-- | build/tasks/build.js | 4 | ||||
-rw-r--r-- | grunt.js | 2 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index e879c1c99..51c2fefdb 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -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(); @@ -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" ); @@ -132,7 +131,6 @@ grunt.initConfig({ bannerCSS: createBanner( cssFiles ) }, compare_size: compareFiles, - clean: ["dist"], concat: { ui: { src: [ "<banner:meta.bannerAll>", stripBanner( uiFiles ) ], diff --git a/package.json b/package.json index 0ffe73645..3c371bf76 100644 --- a/package.json +++ b/package.json @@ -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": [] |