From a6ebde004c40f3270a373d9055b93ec45165ec23 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Mon, 5 Jul 2021 19:04:55 +0530 Subject: [PATCH] `lf`: Cache Golang dependencies --- packages/lf/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lf/build.sh b/packages/lf/build.sh index 3fde8a909..1f6835050 100644 --- a/packages/lf/build.sh +++ b/packages/lf/build.sh @@ -13,6 +13,7 @@ termux_step_make() { mkdir -p "$GOPATH/src/github.com/gokcehan" ln -sf "$TERMUX_PKG_SRCDIR" "$GOPATH/src/github.com/gokcehan/lf" cd "$GOPATH/src/github.com/gokcehan/lf" + termux_go_get -d -v go build -ldflags="-X main.gVersion=r$TERMUX_PKG_VERSION" -trimpath }