An stunnel like program that utilizes the Noise protocol.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
412 B

  1. VIRTUALENV ?= python3 -m venv
  2. VRITUALENVARGS =
  3. FILES=ntunnel/*.py
  4. MODULES=ntunnel ntunnel.quic
  5. test:
  6. (ls $(FILES) | entr sh -c 'python -m coverage run -m unittest $(MODULES) && coverage report --omit=p/\* -m -i')
  7. test-noentr:
  8. python -m coverage run -m unittest ntunnel && coverage report --omit=p/\* -m -i
  9. env:
  10. ($(VIRTUALENV) $(VIRTUALENVARGS) p && . ./p/bin/activate && pip install -r requirements.txt)