| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 | # convenience makefile to boostrap & run buildout# use `make options=-v` to run buildout with extra optionsversion = 2.7python = bin/pythonoptions =all: .installed.cfg.installed.cfg: bin/buildout buildout.cfg setup.py	bin/buildout $(options)bin/buildout: $(python) buildout.cfg bootstrap.py	$(python) bootstrap.py	@touch $@$(python):	virtualenv -p python$(version) --no-site-packages .	@touch $@tests: .installed.cfg	@bin/testrobot: .installed.cfg	@bin/robotflake8: .installed.cfg	@bin/flake8 setup.py	@bin/flake8 ./searx/coverage: .installed.cfg	@bin/coverage run bin/test	@bin/coverage report	@bin/coverage htmlproduction: bin/buildout production.cfg setup.py	bin/buildout -c production.cfg $(options)	@echo "* Please modify `readlink --canonicalize-missing ./searx/settings.py`"	@echo "* Hint 1: on production, disable debug mode and change secret_key"	@echo "* Hint 2: searx will be executed at server startup by crontab"	@echo "* Hint 3: to run immediatley, execute 'bin/supervisord'"minimal: bin/buildout minimal.cfg setup.py	bin/buildout -c minimal.cfg $(options)styles:	@lessc -x searx/static/default/less/style.less > searx/static/default/css/style.css	@lessc -x searx/static/oscar/less/bootstrap/bootstrap.less > searx/static/oscar/css/bootstrap.min.css	@lessc -x searx/static/oscar/less/oscar/oscar.less > searx/static/oscar/css/oscar.min.csslocales:	@pybabel compile -d searx/translationsclean:	@rm -rf .installed.cfg .mr.developer.cfg bin parts develop-eggs \		searx.egg-info lib include .coverage coverage searx/static/default/css/*.css.PHONY: all tests robot flake8 coverage production minimal styles locales clean
 |