mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[theme] peel out oscar from SearXNG development
This is the first step of removing oscar theme Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
7ad0348878
commit
e8541b6006
17 changed files with 54 additions and 162 deletions
16
manage
16
manage
|
@ -115,7 +115,6 @@ test.:
|
|||
clean : clean intermediate test stuff
|
||||
themes.:
|
||||
all : build all themes
|
||||
oscar : build oscar theme
|
||||
simple : build simple theme
|
||||
pygments.:
|
||||
less : build LESS files for pygments
|
||||
|
@ -554,9 +553,6 @@ node.env() {
|
|||
nodejs.ensure
|
||||
( set -e
|
||||
|
||||
build_msg INSTALL "searx/static/themes/oscar/package.json"
|
||||
npm --prefix searx/static/themes/oscar install
|
||||
|
||||
build_msg INSTALL "searx/static/themes/simple/package.json"
|
||||
npm --prefix searx/static/themes/simple install
|
||||
)
|
||||
|
@ -576,7 +572,6 @@ node.clean() {
|
|||
fi
|
||||
build_msg CLEAN "themes -- locally installed npm dependencies"
|
||||
( set -e
|
||||
npm --prefix searx/static/themes/oscar run clean
|
||||
npm --prefix searx/static/themes/simple run clean
|
||||
)
|
||||
dump_return $?
|
||||
|
@ -762,7 +757,6 @@ themes.all() {
|
|||
( set -e
|
||||
pygments.less
|
||||
node.env
|
||||
themes.oscar
|
||||
themes.simple
|
||||
)
|
||||
dump_return $?
|
||||
|
@ -771,14 +765,14 @@ themes.all() {
|
|||
themes.live() {
|
||||
local LIVE_THEME="${LIVE_THEME:-${1}}"
|
||||
case "${LIVE_THEME}" in
|
||||
simple|oscar)
|
||||
simple)
|
||||
theme="searx/static/themes/${LIVE_THEME}"
|
||||
;;
|
||||
'')
|
||||
die_caller 42 "missing theme argument"
|
||||
;;
|
||||
*)
|
||||
die_caller 42 "unknown theme '${LIVE_THEME}' // [simple|oscar]'"
|
||||
die_caller 42 "unknown theme '${LIVE_THEME}' // [simple]'"
|
||||
;;
|
||||
esac
|
||||
build_msg GRUNT "theme: $1 (live build)"
|
||||
|
@ -792,12 +786,6 @@ themes.live() {
|
|||
| grep -E --ignore-case --color 'error[s]?[:]? |warning[s]?[:]? |'
|
||||
}
|
||||
|
||||
themes.oscar() {
|
||||
build_msg GRUNT "theme: oscar"
|
||||
npm --prefix searx/static/themes/oscar run build
|
||||
dump_return $?
|
||||
}
|
||||
|
||||
themes.simple() {
|
||||
( set -e
|
||||
build_msg GRUNT "theme: simple"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue