on master help sign in
manage.sh grunt_build: add node_modules/.bin to the path
commit90b24f1060daf97cbf8e18f4a0087cd74ffb7581 authorDalf <alex@al-f.net> dateTue 23 Jul 2019, 14:10 (7 years ago) parente4e8e6d
1 file changed+3−1
manage.sh+3−1
manage.sh+3−1
@@ -152,6 +152,8 @@ styles() {
152152}
153153
154154grunt_build() {
155+ npm_path_setup
156+
155157 echo '[!] Grunt build : oscar theme'
156158 grunt --gruntfile "$SEARX_DIR/static/themes/oscar/gruntfile.js"
157159 echo '[!] Grunt build : simple theme'
@@ -243,7 +245,7 @@ Commands
243245 update_packages - Check & update production dependency changes
244246 update_dev_packages - Check & update development and production dependency changes
245247 install_geckodriver - Download & install geckodriver if not already installed (required for robot_tests)
246− npm_packages - Download & install npm dependencies (source manage.sh to update the PATH)
248+ npm_packages - Download & install npm dependencies
247249
248250 Build
249251 -----