mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
ec4ed8fa7e
* Added checks for migration runner * Added migration command to build script
13 lines
315 B
Bash
Executable File
13 lines
315 B
Bash
Executable File
# Create the build directory, preserving it if it already exists
|
|
mkdir -p build
|
|
cd build
|
|
|
|
# Run cmake to generate make files
|
|
cmake ..
|
|
|
|
# Run make to build the project. To build utilizing multiple cores, append `-j` and the amount of cores to utilize, for example `make -j8`
|
|
make
|
|
|
|
# Run migrations
|
|
./MasterServer -m
|