Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Berry <bryan@olenepal.org>2010-01-04 13:00:07 (GMT)
committer Bryan Berry <bryan@olenepal.org>2010-01-04 13:00:07 (GMT)
commit4802b58ae79280513693a6542942205aa0cc3837 (patch)
treed4cc33aef36f05be5c5294798061496cc0b7de05
parent4d0e624d804eb5af09d6258e4abd2a44a46000b3 (diff)
buil, bundle, and clean work nicely. Still need to package up as xo bundle, generate html, and deploy
-rw-r--r--Jakefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/Jakefile b/Jakefile
index d4f16d3..6c1496e 100644
--- a/Jakefile
+++ b/Jakefile
@@ -24,13 +24,14 @@ var LESSONS = [ ['~/tmp/karma_lesson1', 'karma_lesson1'],
var includedLessons = [];
var bundleType = '';
+//Specify which files should be removed by the 'jake clean' and 'jake clobber' tasks
var CLEAN_LIB = require('jake/clean');
var CLEAN = CLEAN_LIB.CLEAN;
-CLEAN.include('**/#*#', '\.#*' , '**/\.tmp');
+CLEAN.include('**/#*#', '\.#*' , '**/\.tmp*');
CLEAN.exclude('\.git');
var CLOBBER = CLEAN_LIB.CLOBBER;
-CLOBBER.include('build/', '**/\.tmp');
+CLOBBER.include('**/build');
CLOBBER.exclude('\.git');
@@ -125,16 +126,6 @@ JAKE.task('build-latest',['checkout', 'lessons-dir', 'lessons-bundle-dir'], fun
});
-/*
-JAKE.task('clean-bundle', function(){
- if(FILE.exists(bundleDir)){
- FILE.rmtree(bundleDir);
- }
-
- FILE.mkdirs(bundleDir);
-});
-*/
-
var copyWebFiles = function(){
var webSrcFiles = [ './assets', './css', 'index*', './js'];