Keep logs during deploy cleanup

This commit is contained in:
2025-08-10 12:01:34 +02:00
parent b880b98ac3
commit 2fd83eaf55
3 changed files with 20 additions and 5 deletions

View File

@@ -21,6 +21,10 @@ EXTRA_USERS := $(shell \
.PHONY: build install test
clean-keep-logs:
@echo "🧹 Cleaning ignored files but keeping logs/…"
git clean -fdX -- ':!logs' ':!logs/**'
clean:
@echo "Removing ignored git files"
git clean -fdX