فهرست منبع

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

Adam Shaw 13 سال پیش
والد
کامیت
1c5c4320c0
1فایلهای تغییر یافته به همراه3 افزوده شده و 6 حذف شده
  1. 3 6
      Gruntfile.js

+ 3 - 6
Gruntfile.js

@@ -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/*';