minecraft-pi-reborn/scripts/test.sh
TheBrokenRail da0aef568d
All checks were successful
minecraft-pi-reborn/pipeline/head This commit looks good
Fix CI Test
2021-11-11 22:52:47 -05:00

15 lines
278 B
Bash
Executable File

#!/bin/sh
set -e
# Add minecraft-pi-reborn-server To PATH
export PATH="$(pwd)/out/server-$(dpkg-architecture -qDEB_BUILD_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