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