prob a very hacky way to do it but it seems to work

This commit is contained in:
mb 2022-10-30 16:01:41 +01:00
parent 67fe8b0828
commit 117b1e1691

View File

@ -5,10 +5,5 @@ default: run
setup: setup:
@if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi @if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi
config: run:
@set -a @/bin/bash -c "set -a && source config.env && set +a && .venv/bin/python octomode.py"
@source config.env
@set +a
run: config
@.venv/bin/python octomode.py