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

@@ -3,14 +3,14 @@ set -eu -o pipefail
# install test dependencies once before running tests for each package. This
# reduces the runtime from 200s down to 23s
go test -i $@
go test -i "$@"
for pkg in $@; do
for pkg in "$@"; do
./scripts/test/unit \
-cover \
-coverprofile=profile.out \
-covermode=atomic \
${pkg}
"${pkg}"
if test -f profile.out; then
cat profile.out >> coverage.txt