Use include instead of push to increase performance of jake.

This commit is contained in:
Derek Hammer
2010-09-20 01:33:36 -04:00
committed by Randall Luecke
parent 9777e4c52f
commit 266bed7dc9
+2 -2
View File
@@ -123,8 +123,8 @@ global.$BUILD_CJS_CAPPUCCINO_FRAMEWORKS = FILE.join($BUILD_CJS_CAPPUCCINO, "Fram
global.CLEAN = require("jake/clean").CLEAN;
global.CLOBBER = require("jake/clean").CLOBBER;
global.CLEAN.push(global.$BUILD_DIR);
global.CLOBBER.push(global.$BUILD_DIR);
global.CLEAN.include(global.$BUILD_DIR);
global.CLOBBER.include(global.$BUILD_DIR);
global.$HOME_DIR = FILE.absolute(FILE.dirname(module.path));
global.$LICENSE_FILE = FILE.absolute(FILE.join(FILE.dirname(module.path), 'LICENSE'));