virustotal-cli: Cache Golang dependencies

This commit is contained in:
Yaksh Bariya 2021-07-06 08:58:41 +05:30
parent 31b5ca4353
commit aa94aaf5ff
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -17,6 +17,7 @@ termux_step_make() {
cd "$GOPATH"/src/github.com/VirusTotal/vt-cli
termux_go_get -d -v
go build \
-ldflags "-X github.com/VirusTotal/vt-cli/cmd.Version=$TERMUX_PKG_VERSION" \
-o "$TERMUX_PREFIX"/bin/vt-cli \