minecraft-pi-reborn/build/build-mods.sh

20 lines
233 B
Bash
Raw Normal View History

2020-09-25 16:43:53 +00:00
#!/bin/sh
set -e
cd mods
mkdir build
cd build
2020-11-26 02:17:40 +00:00
cmake ..
2020-09-25 16:43:53 +00:00
make -j$(nproc)
cd ../../
mkdir minecraft-pi/mods
cp mods/build/lib*.so minecraft-pi/mods
cp mods/build/core/lib*.so minecraft-pi
cp mods/build/core/launcher minecraft-pi