diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-03-01 18:20:53 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-03-01 18:20:53 +0900 |
| commit | a1cedfed99dacb54b65615db448f519cae99928e (patch) | |
| tree | a7bb1480a220fb4ebdb12dbb86bc1d21bbdce19e | |
| parent | Update warning message (diff) | |
| download | sharkey-a1cedfed99dacb54b65615db448f519cae99928e.tar.gz sharkey-a1cedfed99dacb54b65615db448f519cae99928e.tar.bz2 sharkey-a1cedfed99dacb54b65615db448f519cae99928e.zip | |
Clean up
| -rw-r--r-- | gulpfile.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gulpfile.ts b/gulpfile.ts index 61b5d41b54..41a5e134fa 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -31,8 +31,6 @@ if (isDebug) { const constants = require('./src/const.json'); -const tsProject = ts.createProject('./src/tsconfig.json'); - gulp.task('build', [ 'build:js', 'build:ts', @@ -51,12 +49,14 @@ gulp.task('build:js', () => .pipe(gulp.dest('./built/')) ); -gulp.task('build:ts', () => - tsProject +gulp.task('build:ts', () => { + const tsProject = ts.createProject('./src/tsconfig.json'); + + return tsProject .src() .pipe(tsProject()) .pipe(gulp.dest('./built/')) -); +}); gulp.task('build:about:docs', () => { function getLicenseHtml(path: string) { |