Browse Source

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

Dalf 5 years ago
parent
commit
90b24f1060
1 changed files with 3 additions and 1 deletions
  1. 3 1
      manage.sh

+ 3 - 1
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
     -----