summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-26 18:00:07 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-26 18:00:07 +0100
commite7fbefa8bdecca04824b3ef744786d8bb45c35fe (patch)
treea9cdef46981fe809a41abdb074dfc07579de2d67 /manage.sh
parent6846402d734c9f4f7fb68fb3980aa2ada5adb763 (diff)
downloadsearxng-e7fbefa8bdecca04824b3ef744786d8bb45c35fe.tar.gz
searxng-e7fbefa8bdecca04824b3ef744786d8bb45c35fe.zip
build: move build styles from manage.sh to Makefile
To build all styles use: make styles To build individual styles use one of: make style.legacy make style.courgette make style.pixart make style.bootstrap Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/manage.sh b/manage.sh
index 5c9b332aa..4f46fd6d7 100755
--- a/manage.sh
+++ b/manage.sh
@@ -130,27 +130,6 @@ npm_packages() {
npm install
}
-build_style() {
- npm_path_setup
-
- lessc --clean-css="--s1 --advanced --compatibility=ie9" "$BASE_DIR/searx/static/$1" "$BASE_DIR/searx/static/$2"
-}
-
-styles() {
- npm_path_setup
-
- echo '[!] Building legacy style'
- build_style themes/legacy/less/style.less themes/legacy/css/style.css
- build_style themes/legacy/less/style-rtl.less themes/legacy/css/style-rtl.css
- echo '[!] Building courgette style'
- build_style themes/courgette/less/style.less themes/courgette/css/style.css
- 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
-}
-
docker_build() {
# Check if it is a git repository
if [ ! -d .git ]; then
@@ -241,7 +220,6 @@ Commands
Build
-----
locales - Compile locales
- styles - Build less files
Tests
-----