diff --git a/Makefile b/Makefile index 9042f6b..24f1f8f 100644 --- a/Makefile +++ b/Makefile @@ -8,4 +8,4 @@ env: ($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt) run: - ($(VIRTUALENV) p && . ./p/bin/activate && hypercorn --bind '0.0.0.0:7742' --bind '[::]:7742' --bind 'unix:/tmp/bitelab.sock' 'bitelab:getApp()') + ([ ! -d p ] && $(VIRTUALENV) p || : && . ./p/bin/activate && hypercorn --bind '0.0.0.0:7742' --bind '[::]:7742' --bind 'unix:/tmp/bitelab.sock' 'bitelab:getApp()')