19 lines
424 B
Bash
Raw Normal View History

2021-06-17 17:32:24 -04:00
#!/bin/sh
set -e
2022-03-09 18:47:31 -05:00
# Build Test
./scripts/setup.sh server "$(dpkg-architecture -qDEB_BUILD_ARCH)"
./scripts/build.sh server "$(dpkg-architecture -qDEB_BUILD_ARCH)"
2021-06-17 17:32:24 -04:00
# Add minecraft-pi-reborn-server To PATH
2021-11-11 22:52:47 -05:00
export PATH="$(pwd)/out/server-$(dpkg-architecture -qDEB_BUILD_ARCH)/usr/bin:${PATH}"
2021-06-17 17:32:24 -04:00
# Create Test Directory
rm -rf build/test
mkdir -p build/test
# Run Test
cd build/test
minecraft-pi-reborn-server --only-generate