From 103a9fa5dc3b83996b548d61c0a40f28ea7833f5 Mon Sep 17 00:00:00 2001 From: Richard Stanley Date: Sun, 20 Oct 2019 18:40:14 -0400 Subject: [PATCH] preparing binaries, bug fix --- .gitignore | 1 + goinstant/buildreleases.sh | 4 ++++ goinstant/goinstant.go | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 goinstant/buildreleases.sh diff --git a/.gitignore b/.gitignore index d6eb3e9a..07f09414 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # go-instant *-packr.go +goinstant/bin/* # Logs logs diff --git a/goinstant/buildreleases.sh b/goinstant/buildreleases.sh new file mode 100644 index 00000000..d11a6c42 --- /dev/null +++ b/goinstant/buildreleases.sh @@ -0,0 +1,4 @@ +GOOS=darwin GOARCH=amd64 packr2 build && mv ./goinstant ./bin/goinstant-macos \ + && GOOS=linux GOARCH=amd64 packr2 build && mv ./goinstant ./bin/goinstant-linux \ + && GOOS=windows GOARCH=amd64 packr2 build && mv ./goinstant.exe ./bin/goinstant.exe \ + && packr2 clean \ No newline at end of file diff --git a/goinstant/goinstant.go b/goinstant/goinstant.go index b0d2e081..31841ca8 100644 --- a/goinstant/goinstant.go +++ b/goinstant/goinstant.go @@ -152,7 +152,7 @@ func help() { func main() { prompt := promptui.Select{ - Label: "Choose Get Started if this is your first time; otherwise choose as you wish. Enjoy!", + Label: "Choose Start Instant OpenHIE if this is your first time", Items: []string{"Start Instant OpenHIE", "Stop Instant OpenHIE", "Debug", "Help", "Quit"}, }