mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Xiaodong Liu](/assets/img/avatar_default.png)
reference:
https://github.com/docker/cli/pull/2507
4c99c81326
Signed-off-by: Xiaodong Liu <liuxiaodong@loongson.cn>
11 lines
230 B
Bash
Executable file
11 lines
230 B
Bash
Executable file
#!/bin/sh
|
|
|
|
: ${GOTESTSUM_COMMIT:=v0.3.5}
|
|
|
|
install_gotestsum() (
|
|
set -e
|
|
export GO111MODULE=on
|
|
go get -d "gotest.tools/gotestsum@${GOTESTSUM_COMMIT}"
|
|
go build ${GO_BUILDMODE} -o "${PREFIX}/gotestsum" 'gotest.tools/gotestsum'
|
|
|
|
)
|