Moving scripts over to tools and updating them to run from the tools directory when called from anywhere.

This commit is contained in:
Karl Abbott 2022-02-16 09:14:24 -05:00
parent 95c5745ba3
commit 4866af5ae3
5 changed files with 5 additions and 3 deletions

View file

@ -1,3 +0,0 @@
#!/bin/bash
for i in $(ls *.md); do ./ensure_80char.sh "$i" && ./fix_code_fence.sh "$i" && ./fix_unordered_list.sh "$i" && markdownlint -c "../../lint/config/default.yml" -c "../../lint/config/summary.yml" -f "$i"; done

5
tools/check_lint.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
RUN_PATH=$(dirname "$0")
for i in $(ls *.md); do $RUN_PATH/ensure_80char.sh "$i" && $RUN_PATH/fix_code_fence.sh "$i" && $RUN_PATH/fix_unordered_list.sh "$i" && markdownlint -c $RUN_PATH/../lint/config/default.yml -c $RUN_PATH/../lint/config/summary.yml -f "$i"; done