1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-27 22:38:39 +09:00
This commit is contained in:
Aya Morisawa 2017-03-01 18:20:53 +09:00
parent d01f7b9ef7
commit a1cedfed99

View File

@ -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) {