From 117b1e1691973b4aef173fb15c65e69b5ed02756 Mon Sep 17 00:00:00 2001 From: mb Date: Sun, 30 Oct 2022 16:01:41 +0100 Subject: [PATCH] prob a very hacky way to do it but it seems to work --- Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 497a70f..8af7037 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,5 @@ default: run setup: @if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi -config: - @set -a - @source config.env - @set +a - -run: config - @.venv/bin/python octomode.py +run: + @/bin/bash -c "set -a && source config.env && set +a && .venv/bin/python octomode.py"