minecraft-pi-reborn/scripts/test.sh
2021-11-10 22:17:04 -05:00

15 lines
277 B
Bash
Executable File

#!/bin/sh
set -e
# Add minecraft-pi-reborn-server To PATH
export PATH="$(pwd)/out/server-$(dpkg-architecture -qDEB_HOST_ARCH)/usr/bin:${PATH}"
# Create Test Directory
rm -rf build/test
mkdir -p build/test
# Run Test
cd build/test
minecraft-pi-reborn-server --only-generate