intelligence-radar/Makefile
tegwick 919aefbef5 Add portable evidence bundles and budgeted OpenRouter trials
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a09cbc-910e-77a0-b336-3130194350b3
2026-09-13 23:50:19 +02:00

26 lines
1.1 KiB
Makefile

.DEFAULT_GOAL := help
.PHONY: help check test demo sync demo-advisor install-timer
help: ## List available targets
@awk 'BEGIN { print "Available targets:" } /^[a-zA-Z0-9_-]+:.*## / { split($$0, parts, "## "); sub(/:.*/, "", parts[1]); printf " %-16s %s\n", parts[1], parts[2] }' $(MAKEFILE_LIST)
check: test ## Run tests and repository integrity checks
python3 -m intelligence_radar check
test: ## Run the test suite
python3 -m unittest discover -s tests -v
demo: ## Demonstrate the isolated evidence workflow
python3 tools/demo.py
sync: ## Push committed work and synchronize Statehub
uv run --project /home/worsch/repo-manager rmgr sync --path . --push
demo-advisor: ## Demonstrate the isolated capability advisor
python3 tools/demo_advisor.py
install-timer: ## Install and enable the local user timer
install -D -m 644 ops/systemd/intelligence-radar.service $(HOME)/.config/systemd/user/intelligence-radar.service
install -D -m 644 ops/systemd/intelligence-radar.timer $(HOME)/.config/systemd/user/intelligence-radar.timer
systemctl --user daemon-reload
systemctl --user enable --now intelligence-radar.timer