summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-28 11:11:07 +0100
committerGitHub <noreply@github.com>2021-01-28 11:11:07 +0100
commit71d66979c2935312e0aed7fc7c3cf6199fbe88a2 (patch)
tree448d2ea277f1df7e1cbe48cf43d0a51100d71a11 /Makefile
parent0f18e885bf1996603fd6b3021c742b1126abda90 (diff)
parent7f505bdc6fad1f744992f663a29ea57c0f8fbc40 (diff)
Merge pull request #2482 from return42/fix-google-video
[fix] revise of the google-Video engine
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 350b2321b..c52e93cdb 100644
--- a/Makefile
+++ b/Makefile
@@ -166,6 +166,18 @@ PHONY += gecko.driver
gecko.driver:
$(PY_ENV_ACT); ./manage.sh install_geckodriver
+# search.checker
+# --------------
+
+search.checker: pyenvinstall
+ $(Q)$(PY_ENV_ACT); searx-checker -v
+
+ENGINE_TARGETS=$(patsubst searx/engines/%.py,search.checker.%,$(wildcard searx/engines/[!_]*.py))
+
+$(ENGINE_TARGETS): pyenvinstall
+ $(Q)$(PY_ENV_ACT); searx-checker -v "$(subst _, ,$(patsubst search.checker.%,%,$@))"
+
+
# test
# ----
@@ -179,7 +191,9 @@ PYLINT_FILES=\
searx/engines/deviantart.py \
searx/engines/digg.py \
searx/engines/google.py \
- searx/engines/google_news.py
+ searx/engines/google_news.py \
+ searx/engines/google_videos.py \
+ searx/engines/google_images.py
test.pylint: pyenvinstall
$(call cmd,pylint,$(PYLINT_FILES))