mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-01 00:08:10 +09:00
Clean up
This commit is contained in:
parent
6cacc370d0
commit
38b08a9f70
10
gulpfile.ts
10
gulpfile.ts
@ -31,8 +31,6 @@ if (isDebug) {
|
|||||||
|
|
||||||
const constants = require('./src/const.json');
|
const constants = require('./src/const.json');
|
||||||
|
|
||||||
const tsProject = ts.createProject('./src/tsconfig.json');
|
|
||||||
|
|
||||||
gulp.task('build', [
|
gulp.task('build', [
|
||||||
'build:js',
|
'build:js',
|
||||||
'build:ts',
|
'build:ts',
|
||||||
@ -51,12 +49,14 @@ gulp.task('build:js', () =>
|
|||||||
.pipe(gulp.dest('./built/'))
|
.pipe(gulp.dest('./built/'))
|
||||||
);
|
);
|
||||||
|
|
||||||
gulp.task('build:ts', () =>
|
gulp.task('build:ts', () => {
|
||||||
tsProject
|
const tsProject = ts.createProject('./src/tsconfig.json');
|
||||||
|
|
||||||
|
return tsProject
|
||||||
.src()
|
.src()
|
||||||
.pipe(tsProject())
|
.pipe(tsProject())
|
||||||
.pipe(gulp.dest('./built/'))
|
.pipe(gulp.dest('./built/'))
|
||||||
);
|
});
|
||||||
|
|
||||||
gulp.task('build:about:docs', () => {
|
gulp.task('build:about:docs', () => {
|
||||||
function getLicenseHtml(path: string) {
|
function getLicenseHtml(path: string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user