From 618858371cf2209ae71499698edd0245f4a45678 Mon Sep 17 00:00:00 2001 From: sh7ning Date: Mon, 23 Sep 2019 17:44:34 +0800 Subject: [PATCH 1/2] add build.sh --- build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..42053ea --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-s -w' -o kumex-market-for-linux kumex_market.go + +CGO_ENABLED=0 go build -ldflags '-s -w' -o kumex-market-for-mac kumex_market.go + +CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-s -w' -o kumex-market-for-windows.exe kumex_market.go + From 0455889d5d905adc78e3e04c78068470d89e84a6 Mon Sep 17 00:00:00 2001 From: sh7ning Date: Mon, 23 Sep 2019 17:47:04 +0800 Subject: [PATCH 2/2] add ignore kumex-market* binary --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index f31249a..0425223 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ vendor kumex_market +kumex-market* .env.local *.pyc