summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 14:09:47 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 14:09:47 +0100
commit757ebb5d9fdc24757f199e52575f32f6faf091b3 (patch)
tree19c660bdb979ec72fe05a638b98fa493d1ac03ba /manage.sh
parentaaf22baad2d0b361e01b8eb2c10de5d03875ecb6 (diff)
downloadsearxng-757ebb5d9fdc24757f199e52575f32f6faf091b3.tar.gz
searxng-757ebb5d9fdc24757f199e52575f32f6faf091b3.zip
[fix] brands: add variables from build env to grunt process
We have some variables in the build environment which are also needed in the grunt process when building themes. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/manage.sh b/manage.sh
index 496a522ba..0551f02d3 100755
--- a/manage.sh
+++ b/manage.sh
@@ -156,15 +156,6 @@ styles() {
build_style less/bootstrap/bootstrap.less css/bootstrap.min.css
}
-grunt_build() {
- npm_path_setup
-
- echo '[!] Grunt build : oscar theme'
- grunt --gruntfile "$SEARX_DIR/static/themes/oscar/gruntfile.js"
- echo '[!] Grunt build : simple theme'
- grunt --gruntfile "$SEARX_DIR/static/themes/simple/gruntfile.js"
-}
-
docker_build() {
# Check if it is a git repository
if [ ! -d .git ]; then
@@ -257,7 +248,6 @@ Commands
-----
locales - Compile locales
styles - Build less files
- grunt_build - Build files for themes
docker_build - Build Docker image
Tests