mirror of
https://github.com/pure-css/pure.git
synced 2024-11-07 21:34:24 +00:00
Tweak formatting and remove unused stuff in Gruntfile
This commit is contained in:
parent
f2733cb2ff
commit
f496042888
26
Gruntfile.js
26
Gruntfile.js
@ -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 -------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user