forked from Icycoide/searxng
[mod] make themes.all update pygments*.less
Add a searx/static/themes/*/src/generated empty folder
This commit is contained in:
parent
bb3e67f72b
commit
d20f6a1f19
11 changed files with 21 additions and 11 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue