aboutsummaryrefslogtreecommitdiff
path: root/community/lf/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/lf/build')
-rwxr-xr-xcommunity/lf/build4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/lf/build b/community/lf/build
index 47cba07b..dcba8c81 100755
--- a/community/lf/build
+++ b/community/lf/build
@@ -1,4 +1,8 @@
#!/bin/sh -e
+export GOPATH=$PWD/gopath
+trap "go clean -modcache" EXIT INT
+go mod vendor
+
go build
install -Dm755 lf "$1/usr/bin/lf"