From 02981c7c4005143285c4012f2d15dc24ccaf6725 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Tue, 6 Mar 2012 19:31:00 +0100 Subject: [PATCH] Build/grunt: cleanup --- grunt.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/grunt.js b/grunt.js index fe1e92bc8..45deca7bd 100644 --- a/grunt.js +++ b/grunt.js @@ -11,11 +11,9 @@ var rawList = allFiles.map(function(file) { var minify = { 'dist/ui/minified/jquery-ui.min.js': ['', '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': ['', '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/')] = ['', 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(", ") %> */'; -- 2.39.5