mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Replace ./scripts/install_tool.sh with `gobin`, such that we have consistent handling for all tools needed for build and consistent versioning within ./tools/mod/go.mod. Side changes: - Expose /scripts/fix.sh that fixes formatting and bom across modules - Expose *.sh variants of scripts like build and ./test (first step towards replacement). - Make stderr output of commands explicit and make commands use different color than callouts.
5 lines
114 B
Bash
Executable File
5 lines
114 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cd ./tools/mod || exit 2
|
|
go list --tags tools -f '{{ join .Imports "\n" }}' | xargs gobin -p
|