MODULES=bitelab VIRTUALENV?=virtualenv-3.8 test: (ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && 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' 'bitelab:getApp()')