A hack to provide some privacy to DNS queries.
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.

15 lines
417B

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