]>
Commit | Line | Data |
---|---|---|
1 | build-client: | |
2 | go build -o mobius-hotline-client client/main.go | |
3 | ||
4 | build-server: | |
5 | go build -o mobius-hotline-server server/main.go | |
6 | ||
7 | windows_amd64_target=dist/mobius_server_windows_amd64 | |
8 | build-win-amd64-server: | |
9 | mkdir $(windows_amd64_target) ; true | |
10 | cp -r cmd/mobius-hotline-server/mobius/config $(windows_amd64_target) | |
11 | GOOS=windows GOARCH=amd64 go build -o $(windows_amd64_target)/mobius-hotline-server.exe cmd/mobius-hotline-server/main.go | |
12 | zip -r dist/mobius_server_windows_amd64.zip $(windows_amd64_target) |