MODULES=bitelab VIRTUALENV?=virtualenv-3.8 test: (ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest -f $(basename $(MODULES)).testing && coverage report --omit=p/\* -m -i') env: ($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt) run: ([ ! -d p ] && $(VIRTUALENV) p || : && . ./p/bin/activate && hypercorn --bind '0.0.0.0:7742' --bind '[::]:7742' --bind 'unix:/tmp/bitelab.sock' --access-logfile - 'bitelab:getApp()')