From 1ab78a18bb602f344ec8bc97ac711720da68a1c9 Mon Sep 17 00:00:00 2001
From: Michelle Weidling <weidling@sub.uni-goettingen.de>
Date: Thu, 20 Apr 2023 14:01:54 +0200
Subject: [PATCH] fix creation of logs dir

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 9df122c..c6dcb6e 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ prepare-default-gt:
 	docker compose exec app bash scripts/prepare.sh
 
 run:
+	if [ ! -d logs ]; then mkdir logs; fi
 	docker compose exec app bash workflows/execute_workflows.sh > logs/run_$$(date +"%s").log
 
 stop:
-- 
GitLab