Fix Makefile coverage target and add check-help-coverage.sh to containers

- Fixed 'make coverage' command (was using empty variable)
- Now runs: docker run --rm tabledevil/file-analysis:latest check-help-coverage.sh
- Added check-help-coverage.sh script to both Dockerfiles
- Made script executable in both images
- Coverage check now works properly without mounting volumes
This commit is contained in:
Tobias Kessels
2025-10-01 13:25:59 +02:00
parent ef4253c9a0
commit 5db3f8248c
3 changed files with 5 additions and 3 deletions

View File

@@ -54,10 +54,11 @@ ADD scripts/fhelp /usr/local/bin/fhelp
ADD scripts/import-remnux-cheatsheets.sh /usr/local/bin/import-remnux-cheatsheets.sh
ADD scripts/convert-remnux-cheats.py /usr/local/bin/convert-remnux-cheats.py
ADD scripts/add-tool-cheats.sh /usr/local/bin/add-tool-cheats.sh
ADD scripts/check-help-coverage.sh /usr/local/bin/check-help-coverage.sh
# Create streamlined offline help system (tldr + cheat)
RUN chmod +x /usr/local/bin/create-offline-help-system.sh /usr/local/bin/find-tool /usr/local/bin/fhelp /usr/local/bin/import-remnux-cheatsheets.sh \
&& chmod +x /usr/local/bin/convert-remnux-cheats.py /usr/local/bin/add-tool-cheats.sh \
&& chmod +x /usr/local/bin/convert-remnux-cheats.py /usr/local/bin/add-tool-cheats.sh /usr/local/bin/check-help-coverage.sh \
&& /usr/local/bin/create-offline-help-system.sh \
&& /usr/local/bin/add-tool-cheats.sh