forked from TrueCloudLab/rclone
vendor: update all dependencies
This commit is contained in:
parent
fb5ee22112
commit
43bc381e90
324 changed files with 37701 additions and 10005 deletions
17
vendor/github.com/a8m/tree/compileall.sh
generated
vendored
17
vendor/github.com/a8m/tree/compileall.sh
generated
vendored
|
@ -5,10 +5,23 @@ go tool dist list >/dev/null || {
|
|||
exit 0
|
||||
}
|
||||
|
||||
failures=0
|
||||
while read -r line; do
|
||||
parts=(${line//\// })
|
||||
export GOOS=${parts[0]}
|
||||
export GOARCH=${parts[1]}
|
||||
echo Try GOOS=${GOOS} GOARCH=${GOARCH}
|
||||
go install
|
||||
if go tool compile -V >/dev/null 2>&1 ; then
|
||||
echo Try GOOS=${GOOS} GOARCH=${GOARCH}
|
||||
if ! go install; then
|
||||
echo "*** Failed compiling GOOS=${GOOS} GOARCH=${GOARCH}"
|
||||
failures=$((failures+1))
|
||||
fi
|
||||
else
|
||||
echo Skipping GOOS=${GOOS} GOARCH=${GOARCH} as not supported
|
||||
fi
|
||||
done < <(go tool dist list)
|
||||
|
||||
if [ $failures -ne 0 ]; then
|
||||
echo "*** $failures compile failures"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue