aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-06-14 12:41:04 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-06-14 12:41:04 +0200
commit38aac3770cc1e22e5e7225b90c47b37d857be13a (patch)
tree2c1d9440def3eb7419c65c098dca191bd223002d /grunt.js
parent43c6663676c3278a8f949c68c2130e727ac13d1f (diff)
downloadjquery-ui-38aac3770cc1e22e5e7225b90c47b37d857be13a.tar.gz
jquery-ui-38aac3770cc1e22e5e7225b90c47b37d857be13a.zip
Grunt: Replace custom rimraf-based clean task with grunt-contrib's clean task
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/grunt.js b/grunt.js
index af751246c..41145bf93 100644
--- a/grunt.js
+++ b/grunt.js
@@ -81,6 +81,7 @@ uiFiles.forEach(function( file ) {
});
// grunt plugins
+grunt.loadNpmTasks( "grunt-contrib" );
grunt.loadNpmTasks( "grunt-css" );
grunt.loadNpmTasks( "grunt-html" );
grunt.loadNpmTasks( "grunt-compare-size" );
@@ -131,6 +132,7 @@ grunt.initConfig({
bannerCSS: createBanner( cssFiles )
},
compare_size: compareFiles,
+ clean: ["dist"],
concat: {
ui: {
src: [ "<banner:meta.bannerAll>", stripBanner( uiFiles ) ],