2026-09-29 21:32:19 +02:00
|
|
|
.PHONY: help install test check validate ui fix-consistency
|
2026-09-29 00:20:46 +02:00
|
|
|
help: ## List targets
|
|
|
|
|
@grep -E '^[a-z-]+:.*##' Makefile | sed 's/:.*##/ -/'
|
2026-09-29 21:32:19 +02:00
|
|
|
install: ## Install the engine and its test dependencies into the current environment (editable)
|
|
|
|
|
python3 -m pip install -e ".[test]"
|
2026-09-29 00:20:46 +02:00
|
|
|
test: ## Run the test suite
|
2026-09-29 21:32:19 +02:00
|
|
|
python3 -m pytest
|
|
|
|
|
check: ## Validate every pack, attribute set, project and template in this repository
|
|
|
|
|
python3 -m rtut check .
|
2026-09-29 00:20:46 +02:00
|
|
|
validate: ## Validate runbook packs under runbooks/
|
|
|
|
|
python3 -m rtut validate runbooks
|
2026-09-29 21:32:19 +02:00
|
|
|
ui: ## Serve the local UI for this repository on 127.0.0.1:8877
|
|
|
|
|
python3 -m rtut ui .
|
2026-09-29 00:20:46 +02:00
|
|
|
fix-consistency: ## Sync workplans to State Hub: make fix-consistency REPO=runbook-tutorials
|
|
|
|
|
statehub fix-consistency --repo $(REPO)
|