Import python modules by their hash.
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.
 
 

10 lines
267 B

  1. MODULES=casimport
  2. VIRTUALENV?=virtualenv-3.7
  3. test:
  4. (ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')
  5. env:
  6. ($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)