summaryrefslogtreecommitdiff
path: root/manage
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-12-14 08:07:22 +0100
committerGitHub <noreply@github.com>2021-12-14 08:07:22 +0100
commit4f22615259fc4a9fb80b47ad5b4bcd17f994bc68 (patch)
tree15bcc625b749b3434576837414c66e7cab9d31b8 /manage
parent5c7167cd5af2c18826595bfff877766dab4b44ca (diff)
parentf287787c44956a6584f78fdd9d6bf423384d1643 (diff)
Merge pull request #538 from return42/eslint
SearXNG JavaScript Style Guide
Diffstat (limited to 'manage')
-rwxr-xr-xmanage11
1 files changed, 11 insertions, 0 deletions
diff --git a/manage b/manage
index 1236cb31c..736a479b5 100755
--- a/manage
+++ b/manage
@@ -714,6 +714,17 @@ themes.simple() {
dump_return $?
}
+themes.simple.test() {
+ build_msg TEST "theme: simple"
+ if ! nvm.min_node "${NODE_MINIMUM_VERSION}"; then
+ info_msg "install Node.js by NVM"
+ nvm.nodejs
+ fi
+ npm --prefix searx/static/themes/simple install
+ npm --prefix searx/static/themes/simple run test
+ dump_return $?
+}
+
PYLINT_FILES=()
while IFS= read -r line; do
PYLINT_FILES+=("$line")