Files
gridd-unlock-patcher/build.sh
Oscar Krause 4bce6412ca Initial commit
2025-04-11 13:22:23 +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