From bbe0e4f631009b2016feb461d1b5464d90cab2b7 Mon Sep 17 00:00:00 2001 From: Alex Garel Date: Fri, 15 Oct 2021 18:10:26 +0200 Subject: [PATCH] fix: fix gulpfile (#5988) --- Makefile | 2 +- gulpfile.js | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0317b4552a0b1..8f88c6b14fffe 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ import_prod_data: #--------# front_lint: - COMPOSE_FILE="docker-compose.yml;docker/dev.yml;docker/jslint.yml" docker-compose run --rm dynamicfront npm run lint + COMPOSE_PATH_SEPARATOR=";" COMPOSE_FILE="docker-compose.yml;docker/dev.yml;docker/jslint.yml" docker-compose run --rm dynamicfront npm run lint checks: front_lint diff --git a/gulpfile.js b/gulpfile.js index 65b6f6eae702b..8b6bfe63da0d7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -165,8 +165,13 @@ function copyImages() { pipe(dest("./html/css/dist")); } -async function buildAll() { - await parallel(copyJs, buildJs, buildjQueryUi, copyCss, copyImages, jQueryUiThemes, series(icons, attributesIcons, css)); +function buildAll() { + return new Promise( + parallel( + copyJs, buildJs, buildjQueryUi, copyCss, copyImages, jQueryUiThemes, + series(icons, attributesIcons, css) + ) + ); } function watchAll () {