Skip to content

Commit

Permalink
fix: fix gulpfile (#5988)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel authored Oct 15, 2021
1 parent 4c0c5bd commit bbe0e4f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 7 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit bbe0e4f

Please sign in to comment.