diff options
Diffstat (limited to 'community/syncthing/build')
-rwxr-xr-x | community/syncthing/build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/community/syncthing/build b/community/syncthing/build index 50bc1107..51a2e6f5 100755 --- a/community/syncthing/build +++ b/community/syncthing/build @@ -1,5 +1,9 @@ #!/bin/sh -e +export GOPATH=$PWD/gopath +trap "go clean -modcache" EXIT INT +go mod vendor + go run build.go -no-upgrade -version "v$2" build install -Dm755 syncthing "$1/usr/bin/syncthing" |