From de36e6c95e24b5a3c39e7d0d0eabb885420ba04b Mon Sep 17 00:00:00 2001 From: Khash Sajadi Date: Thu, 27 Jun 2019 15:03:34 -0700 Subject: [PATCH] revert compile.sh Signed-off-by: Khash Sajadi --- compile.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 compile.sh diff --git a/compile.sh b/compile.sh new file mode 100755 index 0000000..89b0ee1 --- /dev/null +++ b/compile.sh @@ -0,0 +1,3 @@ +#!/bin/bash +gox -ldflags "-X main.BUILDDATE=`date -u '+%Y-%m-%d'` -X main.VERSION=1.3.2" -osarch="darwin/386 darwin/amd64 linux/386 linux/amd64 windows/386 windows/amd64" -output="compiled/{{.Dir}}_{{.OS}}_{{.Arch}}" +CGO_ENABLED=0 gox -ldflags "-X main.BUILDDATE=`date -u '+%Y-%m-%d'` -X main.VERSION=1.3.2" -osarch="linux/amd64" -output="compiled/starter"