X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/6988a0571d5d37ea0f38ee3e4066533158f608bc..e6fdbceeaf8936cc18980b75435985de2a078ac9:/Makefile?ds=sidebyside 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