diff options
author | Alexandre Flament <alex@al-f.net> | 2021-06-18 16:44:27 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-06-22 08:15:11 +0200 |
commit | d20f6a1f19a34e4c2cd872fea7c92910a59b88b0 (patch) | |
tree | 875101ab7a80d129c6ecbed8b1e41b6339ef441f /manage | |
parent | bb3e67f72ba1b76922352c917ae4118762b33615 (diff) | |
download | searxng-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-x | manage | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |