diff options
author | Cem Keylan <cem@ckyln.com> | 2020-09-14 16:36:00 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-09-14 16:36:00 +0300 |
commit | e1a2b2b2d64d21615a87dadcbfbd73a7de4847c9 (patch) | |
tree | e3587bc08841ae4469499603e9d0a17d4f2a58ae /community/lf/build | |
parent | eecb24eaaeeb87fa375fb13586921f65546e29d9 (diff) | |
download | repository-e1a2b2b2d64d21615a87dadcbfbd73a7de4847c9.tar.gz |
lf: change gopath
Diffstat (limited to 'community/lf/build')
-rwxr-xr-x | community/lf/build | 4 |
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" |