mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
Remove needless logs
This commit is contained in:
parent
7363014081
commit
3d321d4e69
1 changed files with 12 additions and 20 deletions
32
gulpfile.ts
32
gulpfile.ts
|
@ -156,8 +156,6 @@ gulp.task('build:client', [
|
|||
});
|
||||
|
||||
gulp.task('build:client:scripts', async (done) => {
|
||||
gutil.log('スクリプトを構築します...');
|
||||
|
||||
// Get commit info
|
||||
const commit = await prominence(git).getLastCommit();
|
||||
|
||||
|
@ -219,10 +217,8 @@ gulp.task('build:client:scripts', async (done) => {
|
|||
es.merge(tasks).on('end', done);
|
||||
});
|
||||
|
||||
gulp.task('build:client:styles', () => {
|
||||
gutil.log('フロントサイドスタイルを構築します...');
|
||||
|
||||
return gulp.src('./src/web/app/**/*.styl')
|
||||
gulp.task('build:client:styles', () =>
|
||||
gulp.src('./src/web/app/**/*.styl')
|
||||
.pipe(stylus({
|
||||
'include css': true,
|
||||
compress: true,
|
||||
|
@ -233,33 +229,29 @@ gulp.task('build:client:styles', () => {
|
|||
safe: true // 高度な圧縮は無効にする (一部デザインが不適切になる場合があるため)
|
||||
})
|
||||
: gutil.noop())
|
||||
.pipe(gulp.dest('./built/web/resources/'));
|
||||
});
|
||||
.pipe(gulp.dest('./built/web/resources/'))
|
||||
);
|
||||
|
||||
gulp.task('copy:client', [
|
||||
'build:client:scripts',
|
||||
'build:client:styles'
|
||||
], () => {
|
||||
gutil.log('必要なリソースをコピーします...');
|
||||
|
||||
return es.merge(
|
||||
], () =>
|
||||
es.merge(
|
||||
gulp.src('./resources/**/*').pipe(gulp.dest('./built/web/resources/')),
|
||||
gulp.src('./src/web/resources/**/*').pipe(gulp.dest('./built/web/resources/')),
|
||||
gulp.src('./src/web/app/desktop/resources/**/*').pipe(gulp.dest('./built/web/resources/desktop/')),
|
||||
gulp.src('./src/web/app/mobile/resources/**/*').pipe(gulp.dest('./built/web/resources/mobile/')),
|
||||
gulp.src('./src/web/app/dev/resources/**/*').pipe(gulp.dest('./built/web/resources/dev/')),
|
||||
gulp.src('./src/web/app/auth/resources/**/*').pipe(gulp.dest('./built/web/resources/auth/'))
|
||||
);
|
||||
});
|
||||
)
|
||||
);
|
||||
|
||||
gulp.task('build:client:pug', [
|
||||
'copy:client',
|
||||
'build:client:scripts',
|
||||
'build:client:styles'
|
||||
], () => {
|
||||
gutil.log('Pugをコンパイルします...');
|
||||
|
||||
return gulp.src([
|
||||
], () =>
|
||||
gulp.src([
|
||||
'./src/web/app/*/view.pug'
|
||||
])
|
||||
.pipe(pug({
|
||||
|
@ -267,5 +259,5 @@ gulp.task('build:client:pug', [
|
|||
themeColor: config.themeColor
|
||||
}
|
||||
}))
|
||||
.pipe(gulp.dest('./built/web/app/'));
|
||||
});
|
||||
.pipe(gulp.dest('./built/web/app/'))
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue