From 5642a4a326d121eaa4001d0e6b983c12d8a3110f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Mon, 30 Oct 2023 19:24:42 +0100 Subject: [PATCH] build: added makefile target for cleaning test logs --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4b08e970..9cc14026 100644 --- a/Makefile +++ b/Makefile @@ -23,3 +23,8 @@ precommit: docs: poetry run make -C docs html + +clean-test: + echo $$HOME/.local/share/gptme/logs/*test-*-test_* + rm -I $$HOME/.local/share/gptme/logs/*test-*-test_*/*.jsonl || true + rm --dir $$HOME/.local/share/gptme/logs/*test-*-test_*/ || true