Skip to content

Commit 6f4b5e0

Browse files
committedNov 24, 2023
created wrapper script
1 parent 066ede4 commit 6f4b5e0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
 

‎.bin/validators.sh

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

0 commit comments

Comments
 (0)