mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 19:53:07 +02:00
Clean up
This commit is contained in:
parent
d01f7b9ef7
commit
a1cedfed99
1 changed files with 5 additions and 5 deletions
10
gulpfile.ts
10
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) {
|
||||
|
|
Loading…
Reference in a new issue