From ba20b023587cdaff9b5e51a5cc0a5f4db6c9edeb Mon Sep 17 00:00:00 2001 From: esrrhs Date: Wed, 8 Jan 2020 10:33:48 +0800 Subject: [PATCH] add --- pack.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 pack.sh diff --git a/pack.sh b/pack.sh new file mode 100755 index 0000000..8572ef6 --- /dev/null +++ b/pack.sh @@ -0,0 +1,10 @@ +#! /bin/bash +go build +zip pingtunnel_linux64.zip pingtunnel + +GOOS=darwin GOARCH=amd64 go build +zip pingtunnel_mac.zip pingtunnel + +GOOS=windows GOARCH=amd64 go build +zip pingtunnel_windows64.zip pingtunnel.exe +