1# -*- coding: utf-8; mode: makefile-gmake -*-
3export GIT_URL=https://github.com/asciimoo/searx
4export SEARX_URL=https://searx.me
5export DOCS_URL=https://asciimoo.github.io/searx
9PY_SETUP_EXTRAS ?= \[test\]
14include utils/makefile.include
15include utils/makefile.python
16include utils/makefile.sphinx
22 @echo ' test - run developer tests'
23 @echo ' docs - build documentation'
24 @echo ' docs-live - autobuild HTML documentation while editing'
25 @echo ' run - run developer instance'
26 @echo ' install - developer install (./local)'
27 @echo ' uninstall - uninstall (./local)'
28 @echo ' gh-pages - build docs & deploy on gh-pages branch'
29 @echo ' clean - drop builds and environments'
31 @$(MAKE) -s -f utils/makefile.include make-help
33 @$(MAKE) -s -f utils/makefile.python python-help
39uninstall: pyenvuninstall
43 $(call cmd,common_clean)
48 sed -i -e "s/debug : False/debug : True/g" ./searx/settings.yml ; \
50 xdg-open http://127.0.0.1:8888/ ; \
52 sed -i -e "s/debug : True/debug : False/g" ./searx/settings.yml ; \
54 $(PY_ENV)/bin/python ./searx/webapp.py
60docs: pyenvinstall sphinx-doc
61 $(call cmd,sphinx,html,docs,docs)
64docs-live: pyenvinstall sphinx-live
65 $(call cmd,sphinx_autobuild,html,docs,docs)
68 @echo "doc available at --> $(DOCS_URL)"
73PHONY += test test.sh test.pylint test.pep8 test.unit test.robot
75# TODO: balance linting with pylint
76test: test.pep8 test.unit test.sh test.robot
80 shellcheck -x utils/lib.sh
81 shellcheck -x utils/filtron.sh
83test.pep8: pyenvinstall
84 $(PY_ENV_ACT); ./manage.sh pep8_check
86test.unit: pyenvinstall
87 $(PY_ENV_ACT); ./manage.sh unit_tests
89test.robot: pyenvinstall
90 $(PY_ENV_ACT); ./manage.sh install_geckodriver
91 $(PY_ENV_ACT); ./manage.sh robot_tests
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list