risk-nexus/Makefile

36 lines
955 B
Makefile
Raw Normal View History

PY := python3
TOOLS := tools
.PHONY: help register check checked due fixes coverage test
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)/check_all.py
checked:
@$(PY) $(TOOLS)/record_check.py $(ARGS)
@$(PY) $(TOOLS)/register_index.py
due:
@$(PY) $(TOOLS)/register_check.py
@$(PY) $(TOOLS)/inbox_check.py
fixes:
@$(PY) $(TOOLS)/fix_tracker.py
coverage:
@$(PY) $(TOOLS)/coverage.py
test:
@PYTHONDONTWRITEBYTECODE=1 $(PY) -m unittest discover -s tests -v