mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
17 lines
248 B
Bash
Executable file
17 lines
248 B
Bash
Executable file
#!/bin/sh
|
|
|
|
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|
|
|
CONFIG=release
|
|
case "$*" in
|
|
(*--debug*) CONFIG=debug;;
|
|
esac
|
|
|
|
EXEC=$DIR/../build/xenia/$CONFIG/xenia-test
|
|
|
|
if [ ! -f "$EXEC" ]; then
|
|
python $DIR/../xenia-build.py build --$CONFIG
|
|
fi
|
|
|
|
$EXEC "$@"
|