minecraft-pi-docker/scripts/test.sh

15 lines
277 B
Bash
Raw Normal View History

2021-06-17 21:32:24 +00:00
#!/bin/sh
set -e
# Add minecraft-pi-reborn-server To PATH
2021-11-11 03:17:04 +00:00
export PATH="$(pwd)/out/server-$(dpkg-architecture -qDEB_HOST_ARCH)/usr/bin:${PATH}"
2021-06-17 21:32:24 +00:00
# Create Test Directory
rm -rf build/test
mkdir -p build/test
# Run Test
cd build/test
minecraft-pi-reborn-server --only-generate