4
0
Fork 0
planet/build.sh
Fanis Dokianakis e3de307c16 add patches
2024-08-03 20:11:09 +03:00

21 γραμμές
305 B
Bash

#!/bin/bash
# clone mercury repo
git clone --depth 1 https://github.com/kgaughan/mercury.git mercury_git
# apply patches
cd mercury
for p in ../patches/*.patch; do
git apply ${p}
done
# build
make build
if [ -e mercury ]; then
mv mercury ../
else
exit 1
fi
./mercury --config planet.toml