mirror of
https://github.com/rclone/rclone.git
synced 2025-12-18 09:13:15 +00:00
vendor: add github.com/a8m/tree
This commit is contained in:
14
vendor/github.com/a8m/tree/compileall.sh
generated
vendored
Executable file
14
vendor/github.com/a8m/tree/compileall.sh
generated
vendored
Executable 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)
|
||||
Reference in New Issue
Block a user