mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix gulp on Windows copying files to wrong location
This commit is contained in:
parent
b2e95de0af
commit
8186da9d4c
@ -3,8 +3,8 @@ const audiosprite = require("gulp-audiosprite");
|
|||||||
|
|
||||||
function gulptasksSounds($, gulp, buildFolder) {
|
function gulptasksSounds($, gulp, buildFolder) {
|
||||||
// Gather some basic infos
|
// Gather some basic infos
|
||||||
const soundsDir = path.join("..", "res_raw", "sounds");
|
const soundsDir = path.join(__dirname, "..", "res_raw", "sounds");
|
||||||
const builtSoundsDir = path.join("..", "res_built", "sounds");
|
const builtSoundsDir = path.join(__dirname, "..", "res_built", "sounds");
|
||||||
|
|
||||||
gulp.task("sounds.clear", () => {
|
gulp.task("sounds.clear", () => {
|
||||||
return gulp.src(builtSoundsDir, { read: false, allowEmpty: true }).pipe($.clean({ force: true }));
|
return gulp.src(builtSoundsDir, { read: false, allowEmpty: true }).pipe($.clean({ force: true }));
|
||||||
|
Loading…
Reference in New Issue
Block a user