goapp serve / deploy
for gulp
npm install gulp-gaegoapp
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")
});
});
MIT