Created
August 4, 2012 22:58
-
-
Save ianbattersby/3260447 to your computer and use it in GitHub Desktop.
Mono 2.11 bash redirection for FSI (fsharpi)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
EXEC="exec " | |
if test x$1 = x--debug; then | |
DEBUG=--debug | |
shift | |
fi | |
if test x$1 = x--gdb; then | |
shift | |
EXEC="gdb --eval-command=run --args " | |
fi | |
if test x$1 = x--valgrind; then | |
shift | |
EXEC="valgrind $VALGRIND_OPTIONS" | |
fi | |
$EXEC mono $DEBUG $MONO_OPTIONS /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.0/fsi.exe $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment