mirror of
https://github.com/element-hq/ems-docs.git
synced 2026-01-11 19:46:31 +00:00
Moving scripts over to tools and updating them to run from the tools directory when called from anywhere.
This commit is contained in:
parent
95c5745ba3
commit
4866af5ae3
5 changed files with 5 additions and 3 deletions
|
|
@ -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
5
tools/check_lint.sh
Executable 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
|
||||
Loading…
Add table
Reference in a new issue