refact(example-zipper): move into `tools` folder

This commit is contained in:
Peter Bacon Darwin 2015-11-04 10:00:12 +00:00
parent 26320160f9
commit a06b98ba75
3 changed files with 2 additions and 2 deletions

View File

@ -10,13 +10,13 @@ var _outputFolder = '_zip-output';
gulp.task('help', taskListing); gulp.task('help', taskListing);
gulp.task('zipExamples', ['clean'], function() { gulp.task('zipExamples', ['clean'], function() {
return exampleZipper.zipExamples("../../docs/_examples", _outputFolder); return exampleZipper.zipExamples("../../../public/docs/_examples", _outputFolder);
}); });
gulp.task('clean', function (cb) { gulp.task('clean', function (cb) {
var cleanPath = path.join(_outputFolder, '**/*.*'); var cleanPath = path.join(_outputFolder, '**/*.*');
del([ cleanPath, '!**/*.ovr.*'], function (err, paths) { del([ cleanPath, '!**/*.ovr.*'], function (err, paths) {
// console.log('Deleted files/folders:\n', paths.join('\n')); console.log('Deleted files/folders:\n', paths.join('\n'));
cb(); cb();
}); });
}); });