Closed
Description
Everything that only runs when releasing jQuery UI shouldn't be inside it's Gruntfile. To make that happen, move things, then update build/release/release.js
to call a DB method instead of invoking grunt release_cdn
.
Stay in jQueryUI Grunt
- default: "lint csslint htmllint qunit"
- sizer: "concat:ui min:dist/jquery-ui.min.js compare_size:all"
- sizer_all: "concat:ui min compare_size"
- build: "concat min cssmin copy:dist_units_images"
Move to DownloadBuilder
- release: "clean build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist"
- release_themes: "release generate_themes copy:themes md5:themes zip:themes"
- 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"
The md5 generation can be simplified. We only need the MANIFEST file for the CDN bundle. We don't need it for the other two.
The zip task already has an equivalent. We should be able to use the zipping method in DB.
The copy task does a lot of stuff and has options for renaming files or stripping folders from paths. We should try to simplify that.
Metadata
Metadata
Assignees
Labels
No labels