mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-06 13:10:47 +08:00
when cleaning build files, don't clear component by default
This commit is contained in:
+3
-6
@@ -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/*';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user