Files
searxng/utils/lib_sxng_themes.sh
T

37 lines
640 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# SPDX-License-Identifier: AGPL-3.0-or-later
themes.help(){
cat <<EOF
themes.:
2025-01-15 17:26:45 +01:00
all : test & build all themes
test : test all themes
fix : fix JS & CSS (LESS)
EOF
}
themes.all() {
( set -e
build_msg SIMPLE "theme: run build"
vite.simple.build
)
dump_return $?
}
2025-01-15 17:26:45 +01:00
themes.fix() {
( set -e
build_msg SIMPLE "theme: fix"
vite.simple.fix
2025-01-15 17:26:45 +01:00
)
dump_return $?
}
themes.test() {
( set -e
# we run a build to test (in CI)
build_msg SIMPLE "theme: run build (to test)"
vite.simple.build
)
dump_return $?
}