Skip to content

Instantly share code, notes, and snippets.

@glenasmith
Created May 25, 2015 08:49
Show Gist options
  • Save glenasmith/fcfe171dc79b5ad87de5 to your computer and use it in GitHub Desktop.
Save glenasmith/fcfe171dc79b5ad87de5 to your computer and use it in GitHub Desktop.
Zip up your webjob files into a deployable artifact
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