aboutsummaryrefslogtreecommitdiff
path: root/community/lf
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-14 16:36:00 +0300
committerCem Keylan <cem@ckyln.com>2020-09-14 16:36:00 +0300
commite1a2b2b2d64d21615a87dadcbfbd73a7de4847c9 (patch)
treee3587bc08841ae4469499603e9d0a17d4f2a58ae /community/lf
parenteecb24eaaeeb87fa375fb13586921f65546e29d9 (diff)
downloadrepository-e1a2b2b2d64d21615a87dadcbfbd73a7de4847c9.tar.gz
lf: change gopath
Diffstat (limited to 'community/lf')
-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"