`clash`: Cache Golang dependencies

This commit is contained in:
Yaksh Bariya 2021-07-09 22:09:51 +05:30
parent ea0c773a3e
commit 94f2d70d35
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ termux_step_make() {
mkdir ./gopath mkdir ./gopath
export GOPATH="$PWD/gopath" export GOPATH="$PWD/gopath"
termux_go_get
GOBUILD=CGO_ENABLED=0 \ GOBUILD=CGO_ENABLED=0 \
go build \ go build \
-trimpath \ -trimpath \