generate pogen from gulpfile

This commit is contained in:
Florian Dold 2016-03-17 13:40:12 +01:00
parent 0fe14b7206
commit 46a9eb1451

View File

@ -171,6 +171,17 @@ gulp.task("srcdist", [], function () {
});
/**
* Compile po extraction script.
*/
gulp.task("pogenjs", [], function () {
var tsProject = ts.createProject("pogen/tsconfig.json");
return tsProject.src()
.pipe(ts(tsProject))
.pipe(gulp.dest("pogen"));
});
/**
* Generate a tsconfig.json with the
* given compiler options that compiles