You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
322 B

3 years ago
#!/bin/bash
set -eux -o pipefail
if [[ $# -lt 1 ]]; then
echo "Usage: run.sh 3DSX_FILE"
exit 1
fi
trap 'docker-compose down' EXIT
rm -rf citra/out driver/out
mkdir -p citra/out driver/out
TEST_FILE=$(realpath "$1")
export TEST_FILE
docker-compose build
docker-compose up -d citra
docker-compose run driver