gh
: Cache Golang dependencies
This commit is contained in:
parent
2be2df1224
commit
529731afc8
@ -20,7 +20,7 @@ termux_step_make() {
|
||||
mkdir -p "$TERMUX_PREFIX"/share/doc/gh
|
||||
cp -a "$TERMUX_PKG_SRCDIR" "$GOPATH"/src/github.com/cli/cli
|
||||
cd "$GOPATH"/src/github.com/cli/cli/cmd/gh
|
||||
go get -d -v
|
||||
termux_go_get -d -v
|
||||
go build -ldflags="-X github.com/cli/cli/internal/build.Version=$TERMUX_PKG_VERSION"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user