ModernUO/docs/building-server.md
2020-09-15 08:55:48 -07:00

31 lines
927 B
Markdown

# Building the Server
## Compiling
=== "Windows"
Using _command prompt_, _git bash_, or _powershell_, run:
```bash
./publish.cmd <os> <framework> <release|debug>
```
=== "OSX/Linux"
Using _terminal_, run:
```bash
./publish.sh <os> <framework> <release|debug>
```
<br><br>
`os` (_Optional_)<br>
The operating system to build the server against. If not specified then the server will be built for the same operating system.
:fontawesome-brands-windows:{: .windows } `win`<br>
:fontawesome-brands-apple:{: .apple } `osx`<br>
:fontawesome-brands-ubuntu:{: .ubuntu } `ubuntu.16.04`, `ubuntu.18.04` `ubuntu.20.04`<br>
:brands-debian:{: .debian } `debian.9`, `debian.10`<br>
:fontawesome-brands-centos:{: .centos } `centos.7`, `centos.8`<br>
<br>
`framework` (_Optional_)<br>
The framework used to build the server. That framework must be installed.
.NET Core 3.1 `core`<br>
.NET 5 Preview `net`