summaryrefslogtreecommitdiff
path: root/manage
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-18 16:44:27 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-22 08:15:11 +0200
commitd20f6a1f19a34e4c2cd872fea7c92910a59b88b0 (patch)
tree875101ab7a80d129c6ecbed8b1e41b6339ef441f /manage
parentbb3e67f72ba1b76922352c917ae4118762b33615 (diff)
downloadsearxng-d20f6a1f19a34e4c2cd872fea7c92910a59b88b0.tar.gz
searxng-d20f6a1f19a34e4c2cd872fea7c92910a59b88b0.zip
[mod] make themes.all update pygments*.less
Add a searx/static/themes/*/src/generated empty folder
Diffstat (limited to 'manage')
-rwxr-xr-xmanage11
1 files changed, 11 insertions, 0 deletions
diff --git a/manage b/manage
index 167895158..9209f1d7a 100755
--- a/manage
+++ b/manage
@@ -325,6 +325,16 @@ node.clean() {
dump_return $?
}
+pygments.less() {
+ [ "$_pyenv_OK" == "OK" ] && return 0
+ build_msg PYGMENTS "searx_extra/update/update_pygments.py"
+ if ! pyenv.cmd python searx_extra/update/update_pygments.py; then
+ build_msg PYGMENTS "building LESS files for pygments failed"
+ return 1
+ fi
+ return 0
+}
+
py.build() {
build_msg BUILD "[pylint] python package ${PYDIST}"
pyenv.cmd python setup.py \
@@ -462,6 +472,7 @@ test.clean() {
themes.all() {
( set -e
+ pygments.less
node.env
themes.oscar
themes.simple