commit 46a9eb145119c5120ac47dbf81776133e8087515 parent 0fe14b7206a024d569a4d55873f383bb3a987fcf Author: Florian Dold <florian.dold@gmail.com> Date: Thu, 17 Mar 2016 13:40:12 +0100 generate pogen from gulpfile Diffstat:
| M | gulpfile.js | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/gulpfile.js b/gulpfile.js @@ -172,6 +172,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 * all files piped into it.