Merge pull request #1866 from return42/fix-news
@@ -27,6 +27,7 @@ help:
27 @echo ' uninstall - uninstall (./local)'
27 @echo ' uninstall - uninstall (./local)'
28 @echo ' gh-pages - build docs & deploy on gh-pages branch'
28 @echo ' gh-pages - build docs & deploy on gh-pages branch'
29 @echo ' clean - drop builds and environments'
29 @echo ' clean - drop builds and environments'
30+ @echo ' project - re-build generic files of the searx project'
31 @$(MAKE) -s -f utils/makefile.include make-help
32 @$(MAKE) -s -f utils/makefile.include make-help
@@ -67,6 +68,18 @@ docs-live: pyenvinstall sphinx-live
67$(GH_PAGES)::
68$(GH_PAGES)::
68 @echo "doc available at --> $(DOCS_URL)"
69 @echo "doc available at --> $(DOCS_URL)"
71+# update project files
72+# --------------------
74+PHONY += project engines-languages
76+project: searx/data/engines_languages.json
78+searx/data/engines_languages.json: pyenvinstall
79+ $(PY_ENV_ACT); python utils/fetch_languages.py
80+ mv engines_languages.json searx/data/engines_languages.json
81+ mv languages.py searx/languages.py
@@ -5,6 +5,7 @@ mock==2.0.0
5nose2[coverage_plugin]
5nose2[coverage_plugin]
6cov-core==1.15.0
6cov-core==1.15.0
8plone.testing==5.0.0
9plone.testing==5.0.0
9splinter==0.11.0
10splinter==0.11.0
10transifex-client==0.12.2
11transifex-client==0.12.2
searx/data/engines_languages.json+28332−27487
This diff is too big to show here.
searx/engines/bing.py+14−9
This diff is too big to show here.
searx/engines/bing_images.py+2−19
This diff is too big to show here.
searx/engines/bing_news.py+3−1
This diff is too big to show here.
searx/engines/bing_videos.py+5−1
This diff is too big to show here.
searx/engines/google_news.py+1−1
This diff is too big to show here.
This diff is too big to show here.
utils/fetch_languages.py+13−10
This diff is too big to show here.