mirror of https://github.com/namecoin/ncdns
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
406 B
Bash
14 lines
406 B
Bash
3 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -euo pipefail
|
||
|
shopt -s nullglob globstar
|
||
|
|
||
|
# Run shellcheck on all shell scripts
|
||
|
# The .travis directory is currently unused (relic from ncdns). It will be
|
||
|
# re-introduced later. For now, we don't try to lint it, since it's inactive.
|
||
|
ALL_SHELL="$(grep -r --files-with-matches --exclude-dir=.git --exclude-dir=.travis '#!.*/bin/.*sh' ./)"
|
||
|
for I in $ALL_SHELL
|
||
|
do
|
||
|
shellcheck "${I}"
|
||
|
done
|