Browse Source

don't need twisted as moving to asyncio... allow the python binary to be set to

allow pypy to possibly be used..
tags/v0.1.0
John-Mark Gurney 5 years ago
parent
commit
0f275cf7f7
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      Makefile

+ 4
- 3
Makefile View File

@@ -1,9 +1,10 @@
VIRTUALENV ?= virtualenv VIRTUALENV ?= virtualenv
VRITUALENVARGS =


MODULES=twistednoise.py
MODULES=ntunnel.py


test: test:
(echo $(MODULES) | entr sh -c 'python -m coverage run -m twisted.trial $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')
(echo $(MODULES) | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')


env: env:
($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)
($(VIRTUALENV) $(VIRTUALENVARGS) p && . ./p/bin/activate && pip install -r requirements.txt)

Loading…
Cancel
Save