diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-03-17 13:40:12 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-03-17 13:40:12 +0100 |
commit | 46a9eb145119c5120ac47dbf81776133e8087515 (patch) | |
tree | 3d66030ecb01b909d6a8e6eb10f311ac523bdb86 /gulpfile.js | |
parent | 0fe14b7206a024d569a4d55873f383bb3a987fcf (diff) |
generate pogen from gulpfile
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index 862aeba19..66d14a086 100644 --- 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. |