aboutsummaryrefslogtreecommitdiff
path: root/community/lf/build
blob: dcba8c810e33e7565da76ddaea6e1fe9e1e3e186 (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

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