aboutsummaryrefslogtreecommitdiff
path: root/scripts/assert-shellcheck.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-10-23 08:41:58 -0300
committerEuAndreh <eu@euandre.org>2020-10-23 08:42:35 -0300
commit137a5e4a1631d69f6844c8dab0b5d629db01c11c (patch)
tree27804edbb12769e62f729c6305de6fc583f1ecc6 /scripts/assert-shellcheck.sh
parentRemove utils.nix (diff)
downloadtoph-137a5e4a1631d69f6844c8dab0b5d629db01c11c.tar.gz
toph-137a5e4a1631d69f6844c8dab0b5d629db01c11c.tar.xz
Add bash scripts for tests instead of Nix
Diffstat (limited to 'scripts/assert-shellcheck.sh')
-rwxr-xr-xscripts/assert-shellcheck.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/assert-shellcheck.sh b/scripts/assert-shellcheck.sh
new file mode 100755
index 0000000..e24c29c
--- /dev/null
+++ b/scripts/assert-shellcheck.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -Eeuo pipefail
+cd "$(dirname "${BASH_SOURCE[0]}")"
+cd ../
+
+git ls-files | grep '\.sh$' | xargs shellcheck