`chezmoi`: Cache Golang dependencies

This commit is contained in:
Yaksh Bariya 2021-07-05 18:35:58 +05:30
parent 237824baa4
commit b438bd0d76
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ termux_step_make() {
cp -a "${TERMUX_PKG_SRCDIR}" "${TERMUX_PKG_BUILDDIR}/src/github.com/twpayne/chezmoi"
cd "${TERMUX_PKG_BUILDDIR}/src/github.com/twpayne/chezmoi"
go get -d -v
termux_go_get -d -v
go build -tags noupgrade,noembeddocs \
-ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=$TERMUX_PREFIX/share/doc/chezmoi -X main.version=${TERMUX_PKG_VERSION}" .
}