From 46a9eb145119c5120ac47dbf81776133e8087515 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 17 Mar 2016 13:40:12 +0100 Subject: generate pogen from gulpfile --- gulpfile.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 862aeba19..66d14a086 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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 -- cgit v1.2.3