gulp-gaegoapp
v1.0.0
Published
Simple process runner to serve / deploy GO Google appengine - `goapp %cmd%...`
Downloads
13
Maintainers
Readme
gulp-go
goapp serve / deploy
for gulp
Install
npm install gulp-gaegoapp
Usage
var gulp = require("gulp");
var gulpgo = require("gulp-gogaegoapp");
var go;
function out(prefix) {
prefix = (prefix || "");
return function(data) {
console.log(prefix, data.toString());
};
}
gulp.task('goserve', [], function() { go = gulpgo.run("serve", ['build/'], { cwd: __dirname, onStdout: out(), onStderr: out("[error]"), onClose: out("close"), onExit: out("exit") }); });
License
MIT