git-lfs: Cache Golang dependencies

This commit is contained in:
Yaksh Bariya 2021-07-06 08:42:14 +05:30
parent c676093cf6
commit e0d69cae42
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -15,6 +15,7 @@ termux_step_make() {
cd "$GOPATH"/github.com/git-lfs/git-lfs cd "$GOPATH"/github.com/git-lfs/git-lfs
! $TERMUX_ON_DEVICE_BUILD && GOOS=linux GOARCH=amd64 CC=gcc LD=gcc go generate github.com/git-lfs/git-lfs/commands ! $TERMUX_ON_DEVICE_BUILD && GOOS=linux GOARCH=amd64 CC=gcc LD=gcc go generate github.com/git-lfs/git-lfs/commands
termux_go_get -d -v
go build git-lfs.go go build git-lfs.go
} }