aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-09-13 15:50:43 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-09-24 08:54:24 +0200
commit9bac5bb54ab602b3b3a2f5a0d41cdd043e8fb85c (patch)
tree2f1f87c283373bc3048c18a01f82d3a926ccc552 /grunt.js
parenta638acb5830b2130765132a5699149152ddd15b2 (diff)
downloadjquery-ui-9bac5bb54ab602b3b3a2f5a0d41cdd043e8fb85c.tar.gz
jquery-ui-9bac5bb54ab602b3b3a2f5a0d41cdd043e8fb85c.zip
Grunt: New task for downloading themes using new themeroller.
* Replaces the old theme tasks with generate_themes. * Drops useless download_docs task * Drops request module
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/grunt.js b/grunt.js
index d244e21cc..548393b59 100644
--- a/grunt.js
+++ b/grunt.js
@@ -1,11 +1,7 @@
/*jshint node: true */
module.exports = function( grunt ) {
-var // modules
- fs = require( "fs" ),
- path = require( "path" ),
- request = require( "request" ),
-
+var
// files
coreFiles = [
"jquery.ui.core.js",
@@ -345,7 +341,7 @@ grunt.registerTask( "sizer", "concat:ui min:dist/jquery-ui.min.js compare_size:a
grunt.registerTask( "sizer_all", "concat:ui min compare_size" );
grunt.registerTask( "build", "concat min cssmin copy:dist_units_images" );
grunt.registerTask( "release", "clean build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist" );
-grunt.registerTask( "release_themes", "release download_themes copy_themes copy:themes md5:themes zip:themes" );
+grunt.registerTask( "release_themes", "release generate_themes copy:themes md5:themes zip:themes" );
grunt.registerTask( "release_cdn", "release_themes copy:cdn copy:cdn_min copy:cdn_i18n copy:cdn_i18n_min copy:cdn_min_images copy:cdn_themes md5:cdn zip:cdn" );
};