gh: Cache Golang dependencies

This commit is contained in:
Yaksh Bariya 2021-07-05 18:21:57 +05:30
parent 2be2df1224
commit 529731afc8
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -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"
}