aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-03-17 13:40:12 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-03-17 13:40:12 +0100
commit46a9eb145119c5120ac47dbf81776133e8087515 (patch)
tree3d66030ecb01b909d6a8e6eb10f311ac523bdb86 /gulpfile.js
parent0fe14b7206a024d569a4d55873f383bb3a987fcf (diff)
downloadwallet-core-46a9eb145119c5120ac47dbf81776133e8087515.tar.xz
generate pogen from gulpfile
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.