This commit is contained in:
syuilo 2017-01-18 14:38:33 +09:00
parent ac2e820e7e
commit e791521779

View File

@ -155,7 +155,7 @@ gulp.task('build:client', [
} }
}); });
gulp.task('build:client:scripts', async (done) => { gulp.task('build:client:scripts', () => new Promise(async (ok) => {
// Get commit info // Get commit info
const commit = await prominence(git).getLastCommit(); const commit = await prominence(git).getLastCommit();
@ -214,8 +214,8 @@ gulp.task('build:client:scripts', async (done) => {
.pipe(gulp.dest('./built/web/resources/')); .pipe(gulp.dest('./built/web/resources/'));
}); });
es.merge(tasks).on('end', done); es.merge(tasks).on('end', ok);
}); }));
gulp.task('build:client:styles', () => gulp.task('build:client:styles', () =>
gulp.src('./src/web/app/**/*.styl') gulp.src('./src/web/app/**/*.styl')