Created
May 25, 2015 08:49
-
-
Save glenasmith/fcfe171dc79b5ad87de5 to your computer and use it in GitHub Desktop.
Zip up your webjob files into a deployable artifact
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('webjob', function() { | |
var webjob = "feedFetcher.zip"; | |
del(webjob) | |
return gulp.src(['parsers/*.js', 'package.json', 'feedFetcher.js'], {base: "."}) | |
.pipe(zip(webjob)) | |
.pipe(gulp.dest('.')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment