diff options
author | Johannes 'josch' Schauer <josch@debian.org> | 2020-02-01 01:16:42 +0100 |
---|---|---|
committer | Johannes 'josch' Schauer <josch@debian.org> | 2020-02-01 01:16:42 +0100 |
commit | 561eea2d3b825b2d02503e10ad4cd585525949b9 (patch) | |
tree | e9919d1b407fea2caba32b5e1ca9ff4e0cb0a5e9 | |
parent | 648b731301fc879d4492ae0116ef1701bf4b6c9e (diff) |
managesh
Gbp-Pq: Name managesh
-rwxr-xr-x | manage.sh | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -115,8 +115,7 @@ tests() { # npm_path_setup() { - which npm || (printf 'Error: npm is not found\n'; exit 1) - export PATH="$(npm bin)":$PATH + true } npm_packages() { @@ -138,7 +137,7 @@ npm_packages() { build_style() { npm_path_setup - lessc --clean-css="--s1 --advanced --compatibility=ie9" "$BASE_DIR/searx/static/$1" "$BASE_DIR/searx/static/$2" + lessc -x "$BASE_DIR/searx/static/$1" "$BASE_DIR/searx/static/$2" } styles() { @@ -152,8 +151,15 @@ styles() { build_style themes/courgette/less/style-rtl.less themes/courgette/css/style-rtl.css echo '[!] Building pix-art style' build_style themes/pix-art/less/style.less themes/pix-art/css/style.css - echo '[!] Building bootstrap style' - build_style less/bootstrap/bootstrap.less css/bootstrap.min.css + echo '[!] Building simple style' + build_style themes/simple/less/style.less themes/simple/css/searx.min.css + build_style themes/simple/less/style-rtl.less themes/simple/css/searx-rtl.min.css + echo '[!] Building logicodev' + build_style themes/oscar/less/logicodev/oscar.less themes/oscar/css/logicodev.min.css + echo '[!] Building logicodev-dark' + build_style themes/oscar/less/logicodev-dark/oscar.less themes/oscar/css/logicodev-dark.min.css + echo '[!] Building pointhi' + build_style themes/oscar/less/pointhi/oscar.less themes/oscar/css/pointhi.min.css } grunt_build() { |