`rush: Cache Golang dependencies

This commit is contained in:
Yaksh Bariya 2021-07-09 22:14:03 +05:30
parent 9928c68037
commit 511d71316d
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ termux_step_make_install() {
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/shenwei356/rush"
cd "${GOPATH}/src/github.com/shenwei356/rush"
go mod init rush
go get -d -v
termux_go_get -d -v
go install
install -Dm700 $TERMUX_PKG_BUILDDIR/bin/*/rush $TERMUX_PREFIX/bin/
install -Dm700 $TERMUX_PKG_BUILDDIR/bin/rush $TERMUX_PREFIX/bin/
}