diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-14 07:50:53 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-14 07:50:53 +0100 |
commit | f287787c44956a6584f78fdd9d6bf423384d1643 (patch) | |
tree | 15bcc625b749b3434576837414c66e7cab9d31b8 /manage | |
parent | 34f5e9c7a305d20bbebe907d3d1032ca04259537 (diff) | |
download | searxng-f287787c44956a6584f78fdd9d6bf423384d1643.tar.gz searxng-f287787c44956a6584f78fdd9d6bf423384d1643.zip |
[simple theme] activate - SearXNG JavaScript Style Guide
Add the 'SearXNG JavaScript Style Guide' as one quality gate in the build chain
of the simple theme::
make themes.simple
make themes.simple.test
In the github CI the `themes.all` target enforce a `themes.simple`.
BTW: Remove 'jshint' left overs from 0ee316f3d
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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") |