created wrapper script

This commit is contained in:
Mo Langning 2023-11-25 00:26:07 +08:00
parent 066ede4356
commit 6f4b5e061d

11
.bin/validators.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
# https://stackoverflow.com/questions/3822621/how-to-exit-if-a-command-failed
set -e
set -o pipefail
# wrapper for all the checking scripts
echo $1
./.bin/check-file-for-starting-slash "$1"
./.bin/new-line-and-empty-line-checker.py "$1"