aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js11
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.