feat: add make cleanup target
Some checks failed
tamq-ci / test (push) Failing after 6s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
tegwick 2026-08-25 22:25:54 +02:00
parent cd73b954e9
commit 72f22a13f7
5 changed files with 38 additions and 1 deletions

View file

@ -1,5 +1,5 @@
.DEFAULT_GOAL := help
.PHONY: help install uninstall test check
.PHONY: help install uninstall cleanup test check
help: ## List available targets
@awk 'BEGIN {FS = ":.*## "} /^[a-zA-Z0-9_-]+:.*## / {printf " %-12s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
@ -13,6 +13,9 @@ install: ## Install or refresh tamq as a user-level uv tool
uninstall: ## Uninstall the user-level tamq tool
uv tool uninstall tmux-amq
cleanup: ## Stop tamq and remove tamq-owned runtime files (preserves history)
uv run tamq cleanup --yes
test: ## Run the test suite
uv run pytest