manage.sh grunt_build: add node_modules/.bin to the path

This commit is contained in:
Dalf 2019-07-23 14:10:10 +02:00
parent e4e8e6da4c
commit 90b24f1060
1 changed files with 3 additions and 1 deletions

View File

@ -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
-----