Tweak formatting and remove unused stuff in Gruntfile

This commit is contained in:
Eric Ferraiuolo 2013-08-07 19:14:23 -04:00
parent f2733cb2ff
commit f496042888

View File

@ -8,10 +8,6 @@ grunt.initConfig({
pkg: grunt.file.readJSON('package.json'), pkg: grunt.file.readJSON('package.json'),
// -- Constants ------------------------------------------------------------
BUILD_COMMENT: 'THIS FILE IS GENERATED BY A BUILD SCRIPT - DO NOT EDIT!',
// -- Clean Config --------------------------------------------------------- // -- Clean Config ---------------------------------------------------------
clean: { clean: {
@ -169,7 +165,7 @@ grunt.initConfig({
expand: true, expand: true,
cwd : 'build/', cwd : 'build/',
src : ['base*.css', 'forms*.css', 'tables*.css', '<%= pkg.name %>*.css'] src : ['base*.css', '<%= pkg.name %>*.css']
}, },
yahoo: { yahoo: {
@ -277,17 +273,17 @@ grunt.registerTask('bower-install', 'Installs Bower dependencies.', function ()
done = this.async(); done = this.async();
bower.commands.install() bower.commands.install()
.on('log', function (data) { .on('log', function (data) {
if (data.id !== 'install') { return; } if (data.id !== 'install') { return; }
grunt.log.writeln('bower ' + data.id.cyan + ' ' + data.message); grunt.log.writeln('bower ' + data.id.cyan + ' ' + data.message);
}) })
.on('end', function (results) { .on('end', function (results) {
if (!Object.keys(results).length) { if (!Object.keys(results).length) {
grunt.log.writeln('No bower packages to install.'); grunt.log.writeln('No bower packages to install.');
} }
done(); done();
}); });
}); });
// -- License Task ------------------------------------------------------------- // -- License Task -------------------------------------------------------------