aboutsummaryrefslogtreecommitdiff
path: root/community/lf/build
blob: 36f82daaa68861271a32ef9d4ec144c965a56459 (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
clinst -Dm755 lf "$1/usr/bin/lf"