VIRTUALENV ?= python3 -m venv VRITUALENVARGS = MODULES=cryptography.tests test: venv pycaenv find cryptography -name '*.py' | entr make test-noentr test-noentr: ( . ./pycaenv/bin/activate && cd cryptography && python -m unittest tests) && ( . ./venv/bin/activate && pip install -e . && python -m coverage run -m unittest $(MODULES) && coverage report --omit=p/\* -m -i) venv: ($(VIRTUALENV) $(VIRTUALENVARGS) venv && . ./venv/bin/activate && pip install -r requirements.txt) pycaenv: ($(VIRTUALENV) $(VIRTUALENVARGS) pycaenv && . ./pycaenv/bin/activate && pip install cryptography)