1# convenience makefile to boostrap & run buildout
2# use `make options=-v` to run buildout with extra options
10.installed.cfg: bin/buildout buildout.cfg setup.py
11 bin/buildout $(options)
13bin/buildout: $(python) buildout.cfg bootstrap.py
14 $(python) bootstrap.py
18 virtualenv -p python$(version) --no-site-packages .
28tests: .installed.cfg flake8
30 @grunt test --gruntfile searx/static/themes/oscar/gruntfile.js
32coverage: .installed.cfg
33 @bin/coverage run bin/test
37production: bin/buildout production.cfg setup.py
38 bin/buildout -c production.cfg $(options)
39 @echo "* Please modify `readlink --canonicalize-missing ./searx/settings.py`"
40 @echo "* Hint 1: on production, disable debug mode and change secret_key"
41 @echo "* Hint 2: searx will be executed at server startup by crontab"
42 @echo "* Hint 3: to run immediatley, execute 'bin/supervisord'"
44minimal: bin/buildout minimal.cfg setup.py
45 bin/buildout -c minimal.cfg $(options)
48 @lessc -x searx/static/themes/default/less/style.less > searx/static/themes/default/css/style.css
49 @lessc -x searx/static/themes/courgette/less/style.less > searx/static/themes/courgette/css/style.css
50 @lessc -x searx/static/less/bootstrap/bootstrap.less > searx/static/css/bootstrap.min.css
51 @lessc -x searx/static/themes/oscar/less/oscar/oscar.less > searx/static/themes/oscar/css/oscar.min.css
54 @grunt --gruntfile searx/static/themes/oscar/gruntfile.js
57 @pybabel compile -d searx/translations
60 @rm -rf .installed.cfg .mr.developer.cfg bin parts develop-eggs \
61 searx.egg-info lib include .coverage coverage searx/static/themes/default/css/*.css
63.PHONY: all tests robot flake8 coverage production minimal styles locales clean
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