Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 18th, 2012  |  syntax: None  |  size: 0.35 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/sh
  2. EXEC="exec "
  3.  
  4. if test x$1 = x--debug; then
  5.    DEBUG=--debug
  6.    shift
  7. fi
  8.  
  9. if test x$1 = x--gdb; then
  10.    shift
  11.    EXEC="gdb --eval-command=run --args "
  12. fi
  13.  
  14. if test x$1 = x--valgrind; then
  15.   shift
  16.   EXEC="valgrind $VALGRIND_OPTIONS"  
  17. fi
  18.  
  19.  
  20. $EXEC mono $DEBUG $MONO_OPTIONS /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.0/fsc.exe $@