2018-05-15 23:04:52 +02:00
|
|
|
#!/bin/bash -eu
|
2017-06-18 15:40:38 +02:00
|
|
|
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
|
|
|
|
B="go build -tags without_openssl"
|
|
|
|
|
2018-05-15 23:04:52 +02:00
|
|
|
set -x
|
|
|
|
|
2017-06-18 15:40:38 +02:00
|
|
|
GOOS=linux GOARCH=arm $B
|
|
|
|
GOOS=linux GOARCH=arm64 $B
|
|
|
|
GOOS=darwin GOARCH=amd64 $B
|
|
|
|
|
|
|
|
# The cross-built binary is not useful on the compile host.
|
|
|
|
rm gocryptfs
|