Files
barecopper/build.sh
CodeAsm eef1020ad8 automate vanilla registry extraction on linux
* 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>
2025-09-12 19:31:03 +03:00

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