risk-nexus/Makefile

37 lines
1,001 B
Makefile
Raw Normal View History

PY := python3
TOOLS := tools
.PHONY: help register check checked due fixes coverage
help:
@echo "make register - rebuild REGISTER.md from findings/"
@echo "make check - verify the index, report what is going quiet, and read the inbox"
@echo "make due - just the work list: what needs a check right now"
@echo "make fixes - the state of every fix this register claims to track"
@echo "make coverage - what the register has never heard from"
@echo "make checked - record a check outcome: make checked ARGS=\"RISK-F-0002 clean\""
register:
@$(PY) $(TOOLS)/register_index.py
check:
@$(PY) $(TOOLS)/register_index.py --check
@echo
@$(PY) $(TOOLS)/register_check.py
@echo
@$(PY) $(TOOLS)/inbox_check.py
checked:
@$(PY) $(TOOLS)/record_check.py $(ARGS)
@$(PY) $(TOOLS)/register_index.py
due:
@$(PY) $(TOOLS)/register_check.py | sed -n '/Checks due/,/^$$/p'
@$(PY) $(TOOLS)/inbox_check.py
fixes:
@$(PY) $(TOOLS)/fix_tracker.py
coverage:
@$(PY) $(TOOLS)/coverage.py