19 lines
702 B
Makefile
19 lines
702 B
Makefile
# Republic OS — repeatable pipeline commands.
|
|
# The build is deterministic: `make build` twice yields a byte-identical tree.
|
|
|
|
.PHONY: build validate legal-us-code check
|
|
|
|
build: ## Regenerate the entity tree from raw exports in data/
|
|
python3 scripts/build.py
|
|
|
|
validate: ## Check every entity file: OKF, schema, and link integrity
|
|
python3 scripts/validate.py
|
|
|
|
changelog: ## What changed in the government since the last commit (BASE/HEAD overridable)
|
|
python3 scripts/generate_changelog.py $(BASE) $(HEAD)
|
|
|
|
legal-us-code: ## Ingest the pinned U.S. Code Title 52 seed corpus
|
|
python3 scripts/ingest_us_code.py --title 52
|
|
|
|
check: build validate ## Build, then validate — the full gate
|