Add version of run.sh that works on OS X

Originally committed to SVN as r6828.
This commit is contained in:
Thomas Goyne 2012-05-19 01:13:11 +00:00
parent 3d512eb422
commit dcbe114361
1 changed files with 24 additions and 0 deletions

24
aegisub/src/osx-run.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/sh
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