fix: don't error out if .venv exists when setting up
This commit is contained in:
parent
0e0df8f5cf
commit
37964d4a48
3
Makefile
3
Makefile
@ -1,8 +1,7 @@
|
|||||||
default: run
|
default: run
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
@python3 -m venv .venv
|
@if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi
|
||||||
@.venv/bin/pip install -r requirements.txt
|
|
||||||
|
|
||||||
run:
|
run:
|
||||||
@.venv/bin/python octomode.py
|
@.venv/bin/python octomode.py
|
||||||
|
Loading…
Reference in New Issue
Block a user