Aegisub/aegisub/src/osx-run.sh
Thomas Goyne 82d955ba96 Exit on error in osx-run.sh
Originally committed to SVN as r6897.
2012-06-12 03:13:53 +00:00

27 lines
282 B
Bash
Executable file

#!/bin/sh
set -e
case "$1" in
"build")
cd ..
make
make osx-bundle
cd src
open ../*.app
;;
"build-gdb")
cd ..
make
make osx-bundle
cd src
gdb ../*.app/Contents/MacOS/aegisub
;;
"gdb")
gdb ../*.app/Contents/MacOS/aegisub
;;
*)
open ../*.app
;;
esac