mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] make themes.all update pygments*.less
Add a searx/static/themes/*/src/generated empty folder
This commit is contained in:
11
manage
11
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
|
||||
|
||||
Reference in New Issue
Block a user