when cleaning build files, don't clear component by default

This commit is contained in:
Adam Shaw
2013-03-02 17:17:11 -08:00
parent b62383d0ad
commit 1c5c4320c0
+3 -6
View File
@@ -271,7 +271,7 @@ module.exports = function(grunt) {
// http://twitter.github.com/bower/
grunt.registerTask('component', 'Build the FullCalendar component for the Bower package manager', [
'clean:build',
'clean:component',
'submodules',
'uglify', // we want the minified JS in there
'copy:component',
@@ -306,11 +306,8 @@ module.exports = function(grunt) {
/* Clean Up Files
----------------------------------------------------------------------------------------------------*/
config.clean.build = [
'build/out/*',
'build/component/*'
];
config.clean.build = 'build/out/*';
config.clean.component = 'build/component/*';
config.clean.dist = 'dist/*';