aboutsummaryrefslogtreecommitdiff
path: root/share/aux-repo/tests/assert-shellcheck.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-25 17:49:20 -0300
committerEuAndreh <eu@euandre.org>2023-03-25 17:50:07 -0300
commit1c852fe2e0d22744ade72c2f2783093c3bd1fc95 (patch)
tree40aaad78d9252f7812dfe32df73188fff5664a4e /share/aux-repo/tests/assert-shellcheck.sh
parentshare/aux-repo/: Add existing files AS-IS (diff)
downloaddotfiles-1c852fe2e0d22744ade72c2f2783093c3bd1fc95.tar.gz
dotfiles-1c852fe2e0d22744ade72c2f2783093c3bd1fc95.tar.xz
share/aux-repo/: Add common test scripts
Diffstat (limited to 'share/aux-repo/tests/assert-shellcheck.sh')
-rwxr-xr-xshare/aux-repo/tests/assert-shellcheck.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/aux-repo/tests/assert-shellcheck.sh b/share/aux-repo/tests/assert-shellcheck.sh
new file mode 100755
index 0000000..322a508
--- /dev/null
+++ b/share/aux-repo/tests/assert-shellcheck.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eu
+
+git ls-files |
+ grep '\.sh$' |
+ xargs shellcheck