[mod] make themes.all update pygments*.less

Add a searx/static/themes/*/src/generated empty folder
This commit is contained in:
Alexandre Flament 2021-06-18 16:44:27 +02:00
parent bb3e67f72b
commit d20f6a1f19
11 changed files with 21 additions and 11 deletions

11
manage
View file

@ -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