mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +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
|