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