aboutsummaryrefslogtreecommitdiff
path: root/community/lf/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-02-15 01:03:17 +0100
committerCem Keylan <cem@ckyln.com>2022-02-15 01:03:17 +0100
commit62d674329ad0100b17f4ee7f1170cfe875b983c7 (patch)
tree39e88b2ca1cb4bf6d1c059f8173bcdbb645c57f4 /community/lf/build
parent6fd5dbca789614eb38ca348db75fa20b49015fd6 (diff)
downloadrepository-62d674329ad0100b17f4ee7f1170cfe875b983c7.tar.gz
lf: switch to vendored source
Diffstat (limited to 'community/lf/build')
-rwxr-xr-xcommunity/lf/build6
1 files changed, 1 insertions, 5 deletions
diff --git a/community/lf/build b/community/lf/build
index a34f9d45..8de69f51 100755
--- a/community/lf/build
+++ b/community/lf/build
@@ -1,8 +1,4 @@
#!/bin/sh -e
-export GOPATH="$PWD/gopath"
-trap "go clean -modcache" EXIT INT
-go mod vendor
-
-CGO_ENABLED=0 go build
+CGO_ENABLED=0 go build -v -mod=vendor
clinst -Dm755 lf "$1/usr/bin/lf"