A REST API for cloud embedded board reservation.
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.
 
 

12 lines
446 B

  1. MODULES=bitelab
  2. VIRTUALENV?=virtualenv-3.8
  3. test:
  4. (ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest -f $(basename $(MODULES)).testing && coverage report --omit=p/\* -m -i')
  5. env:
  6. ($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)
  7. run:
  8. ([ ! -d p ] && $(VIRTUALENV) p || : && . ./p/bin/activate && hypercorn --bind '0.0.0.0:7742' --bind '[::]:7742' --bind 'unix:/tmp/bitelab.sock' 'bitelab:getApp()')