Skip to content

Instantly share code, notes, and snippets.

@BrendanThompson
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrendanThompson/10684354 to your computer and use it in GitHub Desktop.
Save BrendanThompson/10684354 to your computer and use it in GitHub Desktop.
Bash script for executing scriptcs
#!/usr/bin/env bash
MONO=$(command -v mono)
SCRIPTCS="/usr/local/etc/scriptcs/scriptcs.exe" ## Later will get it to pull and extract here
COMMAND=""
case $1 in
"-repl" )
COMMAND="$MONO $SCRIPTCS -modules mono -repl"
$COMMAND
;;
* )
echo 'blah'
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment