summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2019-07-23 14:10:10 +0200
committerDalf <alex@al-f.net>2019-08-06 11:49:46 +0200
commit90b24f1060daf97cbf8e18f4a0087cd74ffb7581 (patch)
tree16d0406e3e8cd0577cf57fb773bd76c0af8cb17d
parente4e8e6da4c90d3d65418aeaf1d7ebfc64c497685 (diff)
downloadsearxng-90b24f1060daf97cbf8e18f4a0087cd74ffb7581.tar.gz
searxng-90b24f1060daf97cbf8e18f4a0087cd74ffb7581.zip
manage.sh grunt_build: add node_modules/.bin to the path
-rwxr-xr-xmanage.sh4
1 files changed, 3 insertions, 1 deletions
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
-----