From d38d0d1a68b7ec2543a6a512a78bce4f36e69e36 Mon Sep 17 00:00:00 2001 From: c1982 Date: Sun, 16 May 2021 12:57:31 +0300 Subject: [PATCH] chore: added build.sh for cross-compilation --- build.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 build.sh diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..02adaae --- /dev/null +++ b/build.sh @@ -0,0 +1 @@ +${HOME}/go/bin/gox -osarch="linux/amd64 windows/amd64 darwin/amd64" -output="awsdtc_{{.OS}}_{{.Arch}}" -ldflags="-s -w" \ No newline at end of file