nvm/shellcheck.sh
Peter Dave Hello 55ae1271b7 [Tests] Create shellcheck.sh to handle shellcheck tests
This would make the shellcheck related process much more maintainable
and make .travis.yml simpler.
2016-11-24 16:47:19 +08:00

12 lines
170 B
Bash
Executable File

#!/usr/bin/env bash
for shell in bash sh dash ksh
do
shellcheck -s "${shell}" nvm.sh
done
for bash_script in install.sh
do
shellcheck -s bash "${bash_script}"
done