- PROJNAME=aiosocks
- VIRTUALENV ?= virtualenv-3.7
- VRITUALENVARGS =
-
- FILES=$(PROJNAME)/*.py tests/*.py
-
- test:
- (ls $(FILES) | entr sh -c 'python -m coverage run -m pytest && coverage report --omit=p/\* -m -i')
-
- test-noentr:
- python -m coverage run -m pytest && coverage report --omit=p/\* -m -i
-
- env:
- ($(VIRTUALENV) $(VIRTUALENVARGS) p && . ./p/bin/activate && pip install -r requirements.txt)
|