1
0
mirror of https://github.com/docker/cli.git synced 2025-08-31 23:02:07 +03:00

Add scripts folder to shellcheck

Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
Jean-Pierre Huynh
2017-07-18 13:17:17 +01:00
parent b75596e1e4
commit 24c06c1723
11 changed files with 27 additions and 33 deletions

View File

@@ -1,11 +1,5 @@
#!/usr/bin/env bash
set -e
set -eo pipefail
# Maintain an array of files to shellcheck not the best solution but will do for the time being
FILES=()
FILES+=("contrib/completion/bash/docker")
FILES+=("scripts/validate/shellcheck")
for f in "${FILES[@]}"; do
shellcheck "$f"
done
shellcheck contrib/completion/bash/docker
find scripts/ -type f | grep -v scripts/winresources | xargs shellcheck