aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-07-29 17:53:46 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-07-29 17:53:46 -0700
commite6fdbceeaf8936cc18980b75435985de2a078ac9 (patch)
treeb76d6a463ab6c62fb94a8f3ffd4b966a41782ba2 /Makefile
parent59c14e5395690e711983b2acd2cc20f8cb8b6f2f (diff)
Troubleshoot CI build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
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