`rush: Cache Golang dependencies
This commit is contained in:
parent
9928c68037
commit
511d71316d
|
@ -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/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue