lambduh-gulp
Advanced tools
Comparing version 0.1.4 to 0.1.5
23
index.js
@@ -45,2 +45,7 @@ var gutil = require('gulp-util'); | ||
gulp.task('lib', function() { | ||
return gulp.src('./lib/*') | ||
.pipe(gulp.dest('dist/lib/')); | ||
}); | ||
gulp.task('node-mods', function() { | ||
@@ -62,3 +67,3 @@ return gulp.src('./' + packageFile) | ||
['clean'], | ||
['js', 'bin', 'node-mods'], | ||
['js', 'lib', 'bin', 'node-mods'], | ||
['zip'], | ||
@@ -69,2 +74,10 @@ callback | ||
gulp.task('lambda-zip-quick', function(callback) { | ||
return runSequence( | ||
['js', 'bin'], | ||
['zip'], | ||
callback | ||
); | ||
}); | ||
gulp.task('upload', function(callback) { | ||
@@ -138,2 +151,10 @@ try { | ||
gulp.task('zipload-quick', function(callback) { | ||
return runSequence( | ||
['lambda-zip-quick'], | ||
['upload'], | ||
callback | ||
); | ||
}); | ||
gulp.task('zipload', function(callback) { | ||
@@ -140,0 +161,0 @@ return runSequence( |
{ | ||
"name": "lambduh-gulp", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Adds zip and upload gulp tasks for a streamlined AWS Lambda workflow", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9318
143