From 90b24f1060daf97cbf8e18f4a0087cd74ffb7581 Mon Sep 17 00:00:00 2001 From: Dalf Date: Tue, 23 Jul 2019 14:10:10 +0200 Subject: [PATCH] manage.sh grunt_build: add node_modules/.bin to the path --- manage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manage.sh b/manage.sh index 7279eaf39..dbe48d31d 100755 --- a/manage.sh +++ b/manage.sh @@ -152,6 +152,8 @@ styles() { } grunt_build() { + npm_path_setup + echo '[!] Grunt build : oscar theme' grunt --gruntfile "$SEARX_DIR/static/themes/oscar/gruntfile.js" echo '[!] Grunt build : simple theme' @@ -243,7 +245,7 @@ Commands update_packages - Check & update production dependency changes update_dev_packages - Check & update development and production dependency changes install_geckodriver - Download & install geckodriver if not already installed (required for robot_tests) - npm_packages - Download & install npm dependencies (source manage.sh to update the PATH) + npm_packages - Download & install npm dependencies Build -----