sbom-nexus/.generated-work-records.mk
tegwick 2c10d9754e Adopt staged WORK-RECORDS generation and catch the index up.
SBOM-WP-0005 finished in 5a1fe3f without the generated index. The opt-in
lets the pre-commit hook rebuild WORK-RECORDS.md in the same commit as
the workplan it indexes.

Assistant: grok
Assistant-Session: 01a17f77-a02b-7372-b1da-d7f74c0bad78
2026-10-27 23:40:48 +01:00

8 lines
511 B
Makefile

# Explicit opt-in recipe; no environment files or external make includes.
CUSTODIAN_SOURCE ?= /home/worsch/the-custodian
GENERATED_REPO_SLUG ?= sbom-nexus
.PHONY: generated-work-records generated-work-records-check
generated-work-records:
python3 "$(CUSTODIAN_SOURCE)/scripts/generate_staged_work_records.py" --repo . --repo-slug "$(GENERATED_REPO_SLUG)"
generated-work-records-check:
python3 "$(CUSTODIAN_SOURCE)/scripts/generate_staged_work_records.py" --repo . --repo-slug "$(GENERATED_REPO_SLUG)" --check