mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-09 07:37:18 +09:00
Clean up
This commit is contained in:
parent
afdd07b562
commit
3a8abc43d2
15
gulpfile.js
15
gulpfile.js
@ -7,12 +7,7 @@ const es = require('event-stream');
|
|||||||
|
|
||||||
const project = ts.createProject('tsconfig.json');
|
const project = ts.createProject('tsconfig.json');
|
||||||
|
|
||||||
gulp.task('build', [
|
gulp.task('build', () => {
|
||||||
'build:ts',
|
|
||||||
'build:copy'
|
|
||||||
]);
|
|
||||||
|
|
||||||
gulp.task('build:ts', () => {
|
|
||||||
const tsResult = project
|
const tsResult = project
|
||||||
.src()
|
.src()
|
||||||
.pipe(project());
|
.pipe(project());
|
||||||
@ -26,11 +21,3 @@ gulp.task('build:ts', () => {
|
|||||||
tsResult.dts.pipe(gulp.dest('./built/'))
|
tsResult.dts.pipe(gulp.dest('./built/'))
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('build:copy', () => {
|
|
||||||
return es.merge(
|
|
||||||
gulp.src([
|
|
||||||
'./src/**/*.pug'
|
|
||||||
]).pipe(gulp.dest('./built/'))
|
|
||||||
);
|
|
||||||
});
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user