runbook-tutorials/Makefile
tegwick e021fd979f Packaging, rtut check, tests CI job; schemas move into the package (RBT-WP-0009-T02)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 295952@bnt-lap001
Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
2026-09-29 21:32:19 +02:00

15 lines
736 B
Makefile

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