-
Notifications
You must be signed in to change notification settings - Fork 82
Building
Matthew Hopson edited this page Jan 18, 2020
·
6 revisions
Please use the links below:
Running the Unit Tests With Visual Studio
These are required for the project, and usually can be downloaded via your distributions
sudo apt install libsfml-devIf not, then you can download them from the website:
First clone the project and cd:
git clone https://github.com/Hopson97/open-builder.git
cd open-builderTo build, at the root of the project:
sh scripts/build.shTo run, at the root of the project:
sh scripts/run.sh # Launches both client and server
sh scripts/run.sh -server 8 # Launches server only, allowing upto 8 connections
sh scripts/run.sh -client xyz # Launches client, with player name xyzTo build and run in release mode, simply add the release suffix:
sh scripts/build.sh release
sh scripts/run.sh release <args>The unit tests can be ran using
sh scripts/tests.sh