From e6fdbceeaf8936cc18980b75435985de2a078ac9 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Thu, 29 Jul 2021 17:53:46 -0700 Subject: Troubleshoot CI build --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fb14198..9d31202 100644 --- a/Makefile +++ b/Makefile @@ -3,3 +3,10 @@ build-client: build-server: go build -o mobius-hotline-server server/main.go + +windows_amd64_target=dist/mobius_server_windows_amd64 +build-win-amd64-server: + mkdir $(windows_amd64_target) ; true + cp -r cmd/mobius-hotline-server/mobius/config $(windows_amd64_target) + GOOS=windows GOARCH=amd64 go build -o $(windows_amd64_target)/mobius-hotline-server.exe cmd/mobius-hotline-server/main.go + zip -r dist/mobius_server_windows_amd64.zip $(windows_amd64_target) \ No newline at end of file -- cgit