IMP: new tag in file to tell that the script should pass shellcheck

The `# run-shellchek` tag must be placed in the first 10 lines of the
file
This commit is contained in:
Charles Herlin
2019-01-24 11:11:08 +01:00
parent 13c88c7da2
commit e8ae07c2e8
12 changed files with 24 additions and 3 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
# run-shellcheck
# usage : $0 [shell script to check]
# called without arguments, il will shellcheck any *.sh file found in the project
set -e
dockerfile="$(dirname "$0")/Dockerfile.shellcheck"