forked from EXTERNAL/bareiron

* Adding a simple check if someone has read the readme * semi automate the registeries generation. still requires manually downloading server.jar for eula purposes * The mods have spoken: no spelling mistakes allowed. * mention extract_registries script in readme --------- Co-authored-by: p2r3 <41925384+p2r3@users.noreply.github.com>
12 lines
266 B
Bash
Executable File
12 lines
266 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ ! -f "include/registries.h" ]; then
|
|
echo "Error: 'include/registries.h' is missing."
|
|
echo "Please follow the 'Compilation' section of the README to generate it."
|
|
exit 1
|
|
fi
|
|
|
|
rm bareiron
|
|
gcc src/*.c -O3 -Iinclude -o bareiron
|
|
./bareiron
|