aboutsummaryrefslogtreecommitdiff
path: root/scripts/assert-shellcheck.sh
blob: 70ea65a34e77ee4f18a12f4d1b93104f31f72063 (about) (plain) (blame)
1
2
3
4
5
6
#!/bin/sh -eux

git ls-files -z | \
  grep -zv vendor | \
  xargs -0 awk 'FNR==1 && /^#!\/bin\/sh/ { print FILENAME }' | \
  xargs shellcheck