mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
42f0a0db75
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
11 lines
304 B
Bash
Executable file
11 lines
304 B
Bash
Executable file
#!/bin/sh
|
|
|
|
GOTESTSUM_COMMIT='v0.3.5'
|
|
|
|
install_gotestsum() {
|
|
echo "Installing gotestsum version $GOTESTSUM_COMMIT"
|
|
go get -d gotest.tools/gotestsum
|
|
cd "$GOPATH/src/gotest.tools/gotestsum"
|
|
git checkout -q "$GOTESTSUM_COMMIT"
|
|
go build -buildmode=pie -o "${PREFIX}/gotestsum" 'gotest.tools/gotestsum'
|
|
}
|