diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-06 19:31:00 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-06 19:31:00 +0100 |
commit | 02981c7c4005143285c4012f2d15dc24ccaf6725 (patch) | |
tree | 70c826b7087bcbca2dfbf5a31e441ad55b973e54 /grunt.js | |
parent | 3f1750330070de1c8a48ab42c4f4bb90e0372e02 (diff) | |
download | jquery-ui-02981c7c4005143285c4012f2d15dc24ccaf6725.tar.gz jquery-ui-02981c7c4005143285c4012f2d15dc24ccaf6725.zip |
Build/grunt: cleanup
Diffstat (limited to 'grunt.js')
-rw-r--r-- | grunt.js | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -11,11 +11,9 @@ var rawList = allFiles.map(function(file) { var minify = { 'dist/ui/minified/jquery-ui.min.js': ['<banner:meta.bannerAll>', 'dist/ui/jquery-ui.js'], - // TODO adjust banner to get access to the list of included files 'dist/ui/minified/i18n/jquery-ui-i18n.min.js': ['<banner:meta.bannerI18n>', 'dist/ui/i18n/jquery-ui-i18n.js'] }; function minFile(file) { - // TODO adjust banner to get access to the list of included files minify['dist/' + file.replace(/\.js$/, '.min.js').replace(/ui\//, 'ui/minified/')] = ['<banner>', file]; } allFiles.forEach(minFile); @@ -30,7 +28,6 @@ function createBanner(files) { return '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + '<%= template.today("isoDate") %>\n' + '<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' + - // TODO makes this banner only useful for the min-all task below... (files ? '* Includes: ' + files.join(', ') + '\n' : '') + '* Copyright (c) <%= template.today("yyyy") %> <%= pkg.author.name %>;' + ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'; |