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

25 lines
237 B
Bash
Raw Normal View History

2020-09-25 16:43:53 +00:00
#!/bin/sh
set -e
2021-01-27 21:26:19 +00:00
cd launcher
2020-09-25 16:43:53 +00:00
mkdir build
cd build
2020-11-26 02:17:40 +00:00
cmake ..
2020-09-25 16:43:53 +00:00
make -j$(nproc)
2021-01-27 21:26:19 +00:00
make install DESTDIR=../../minecraft-pi
2020-09-25 16:43:53 +00:00
cd ../../
2021-01-27 21:26:19 +00:00
cd mods
mkdir build
cd build
cmake ..
make -j$(nproc)
make install DESTDIR=../../minecraft-pi
2020-09-25 16:43:53 +00:00
2021-01-27 21:26:19 +00:00
cd ../../