BizHawk/waterbox/waterboxhost/build-release.sh

10 lines
320 B
Bash
Executable File

#!/bin/sh
if [ -z "$BIZHAWKBUILD_HOME" ]; then export BIZHAWKBUILD_HOME="$(realpath "$(dirname "$0")/../..")"; fi
cargo b --release
cp target/release/libwaterboxhost.so "$BIZHAWKBUILD_HOME/Assets/dll"
if [ -e "$BIZHAWKBUILD_HOME/output" ]; then
cp target/release/libwaterboxhost.so "$BIZHAWKBUILD_HOME/output/dll"
fi