diff options
author | Bryan Berry <bryan@olenepal.org> | 2010-01-04 13:00:07 (GMT) |
---|---|---|
committer | Bryan Berry <bryan@olenepal.org> | 2010-01-04 13:00:07 (GMT) |
commit | 4802b58ae79280513693a6542942205aa0cc3837 (patch) | |
tree | d4cc33aef36f05be5c5294798061496cc0b7de05 | |
parent | 4d0e624d804eb5af09d6258e4abd2a44a46000b3 (diff) |
buil, bundle, and clean work nicely. Still need to package up as xo bundle, generate html, and deploy
-rw-r--r-- | Jakefile | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -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']; |