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:
@@ -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/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/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/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)
|
# 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 \
|
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/create-offline-help-system.sh \
|
||||||
&& /usr/local/bin/add-tool-cheats.sh
|
&& /usr/local/bin/add-tool-cheats.sh
|
||||||
|
|
||||||
|
|||||||
@@ -77,10 +77,11 @@ ADD scripts/fhelp /usr/local/bin/fhelp
|
|||||||
ADD scripts/import-remnux-cheatsheets.sh /usr/local/bin/import-remnux-cheatsheets.sh
|
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/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/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)
|
# 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 \
|
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/create-offline-help-system.sh \
|
||||||
&& /usr/local/bin/add-tool-cheats.sh
|
&& /usr/local/bin/add-tool-cheats.sh
|
||||||
|
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -77,4 +77,4 @@ 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:remnux check-help-coverage.sh
|
docker run --rm tabledevil/file-analysis:latest check-help-coverage.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user