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:
@@ -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
|
||||
|
Reference in New Issue
Block a user