1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-09-27 14:25:22 +00:00

Switch to gulp 4

This commit is contained in:
Ivan Demchuk
2020-06-13 18:59:25 +03:00
parent 2367d787a0
commit 506193b8c8
11 changed files with 970 additions and 1169 deletions

View File

@@ -79,7 +79,7 @@ function gulptasksSounds($, gulp, buildFolder) {
gulp.task(
"sounds.sfx",
$.sequence("sounds.sfxGenerateSprites", "sounds.sfxOptimize", "sounds.sfxCopyAtlas")
gulp.series("sounds.sfxGenerateSprites", "sounds.sfxOptimize", "sounds.sfxCopyAtlas")
);
gulp.task("sounds.copy", () => {
@@ -92,8 +92,8 @@ function gulptasksSounds($, gulp, buildFolder) {
gulp.task("sounds.buildall", cb => $.multiProcess(["sounds.music", "sounds.sfx"], cb, true));
gulp.task("sounds.fullbuild", cb => $.sequence("sounds.clear", "sounds.buildall", "sounds.copy")(cb));
gulp.task("sounds.dev", cb => $.sequence("sounds.buildall", "sounds.copy")(cb));
gulp.task("sounds.fullbuild", gulp.series("sounds.clear", "sounds.buildall", "sounds.copy"));
gulp.task("sounds.dev", gulp.series("sounds.buildall", "sounds.copy"));
}
module.exports = {