|
#!/bin/bash
|
|
|
|
case "${PISTON_LANGUAGE}" in
|
|
csharp)
|
|
rename 's/$/\.cs/' "$@" # Add .cs extension
|
|
csc -out:out *.cs
|
|
;;
|
|
basic)
|
|
rename 's/$/\.vb/' "$@" # Add .vb extension
|
|
vbnc -out:out *.vb
|
|
;;
|
|
*)
|
|
echo "How did you get here? (${PISTON_LANGUAGE})"
|
|
exit 1
|
|
;;
|
|
esac
|