Files
gridd-unlock-patcher/build.sh
Oscar Krause 9eb6d81033 Initial commit
2025-04-11 13:25:28 +02:00

12 lines
280 B
Bash
Executable File

#!/bin/sh
if [ "$1" == "clean" ] || [ "$1" == "rebuild" ]; then
rm -rf build gridd-unlock-patcher
fi
if [ "$1" == "rebuild" ] || [ "$1" != "clean" ]; then
mkdir -p build; cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && make -j$(nproc) && mv gridd-unlock-patcher ..
cd ..
fi