Fix coverage target to use full path and show helpful error

- Use full path: /usr/local/bin/check-help-coverage.sh
- Add error message if image not built or outdated
- Reminds user to run 'make build' first
This commit is contained in:
Tobias Kessels
2025-10-01 13:27:00 +02:00
parent 5db3f8248c
commit b336b25e54

View File

@@ -77,4 +77,5 @@ shell-scratch:
# Run help coverage check # Run help coverage check
coverage: coverage:
@echo "Checking help coverage..." @echo "Checking help coverage..."
docker run --rm tabledevil/file-analysis:latest check-help-coverage.sh @docker run --rm tabledevil/file-analysis:latest /usr/local/bin/check-help-coverage.sh || \
(echo "" && echo "Error: Image not built or outdated. Run 'make build' first." && exit 1)