generate pogen from gulpfile
This commit is contained in:
parent
0fe14b7206
commit
46a9eb1451
11
gulpfile.js
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user