aboutsummaryrefslogtreecommitdiff
path: root/community/lf/build
blob: b684eb8d5051c2a7a4a3f787049e79f3a65dcb7a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh -e

export GOPATH=$PWD/gopath
trap "go clean -modcache" EXIT INT
go mod vendor

CGO_ENABLED=0 go build
install -Dm755 lf "$1/usr/bin/lf"