#!/bin/bash -e set -Eeuo pipefail export HOME=$(pwd) echo Pre-build layout ls -lR . cd blastmud-repo echo Running tests cargo test --target-dir ../target --profile release echo Running main build cargo build --target-dir ../target --profile release echo Copying artifacts cp ../target/release/blastmud_game ../output/ cp ../target/release/blastmud_listener ../output/ echo Final layout ls -lR .