mirror of
https://git.collinwebdesigns.de/vgpu/gridd-unlock-patcher.git
synced 2025-12-22 13:30:00 +00:00
12 lines
280 B
Bash
Executable File
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
|