Add shellcheck to catch bad shell code

This commit is contained in:
James Westby
2019-10-04 15:13:14 +01:00
committed by James Westby
parent 449decc476
commit 6309b17069
5 changed files with 52 additions and 40 deletions
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
set -eu
set -o pipefail
SCRIPTS=(shellcheck mkimage buildone buildall pushall)
shellcheck -s bash "${SCRIPTS[@]}"