From c9e346859613e7a72d91e4ff85224b1cca50565a Mon Sep 17 00:00:00 2001 From: esrrhs Date: Sun, 8 Mar 2020 13:57:33 +0800 Subject: [PATCH] add --- pack.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 pack.sh diff --git a/pack.sh b/pack.sh new file mode 100755 index 0000000..76df629 --- /dev/null +++ b/pack.sh @@ -0,0 +1,18 @@ +#! /bin/bash +set -x + +go build +zip socksserver_linux64.zip socksserver + +GOOS=darwin GOARCH=amd64 go build +zip socksserver_mac.zip socksserver + +GOOS=windows GOARCH=amd64 go build +zip socksserver_windows64.zip socksserver.exe + +GOOS=linux GOARCH=mipsle go build +zip socksserver_mipsle.zip socksserver + +GOOS=linux GOARCH=arm go build +zip socksserver_arm.zip socksserver +