vendor: add github.com/a8m/tree

This commit is contained in:
Nick Craig-Wood 2017-07-26 23:00:20 +01:00
parent da9926d574
commit bfef0bc2e9
19 changed files with 1302 additions and 1 deletions

14
vendor/github.com/a8m/tree/compileall.sh generated vendored Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
go tool dist list >/dev/null || {
echo 1>&2 "go tool dist list not supported - can't check compile"
exit 0
}
while read -r line; do
parts=(${line//\// })
export GOOS=${parts[0]}
export GOARCH=${parts[1]}
echo Try GOOS=${GOOS} GOARCH=${GOARCH}
go install
done < <(go tool dist list)