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

20 lines
233 B
Bash
Executable File

#!/bin/sh
set -e
cd mods
mkdir build
cd build
cmake ..
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