mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 05:39:22 +02:00
[web-client] integrate the migrated theme in the development workflows
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
1a3543d4b2
commit
2bf77f5d2d
11 changed files with 69 additions and 116 deletions
|
@ -25,8 +25,8 @@ nodejs.ensure() {
|
|||
node.env() {
|
||||
nodejs.ensure
|
||||
( set -e
|
||||
build_msg INSTALL "[npm] ./searx/static/themes/simple/package.json"
|
||||
npm --prefix searx/static/themes/simple install
|
||||
build_msg INSTALL "[npm] ./client/simple/package.json"
|
||||
npm --prefix client/simple install
|
||||
)
|
||||
dump_return $?
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ node.clean() {
|
|||
fi
|
||||
build_msg CLEAN "themes -- locally installed npm dependencies"
|
||||
( set -e
|
||||
npm --prefix searx/static/themes/simple run clean \
|
||||
npm --prefix client/simple run clean \
|
||||
| prefix_stdout "${_Blue}CLEAN ${_creset} "
|
||||
if [ "${PIPESTATUS[0]}" -ne "0" ]; then
|
||||
return 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue