fix: don't error out if .venv exists when setting up

This commit is contained in:
decentral1se 2022-10-02 11:37:07 +02:00
parent 0e0df8f5cf
commit 37964d4a48
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -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