compiler-discord/docker/fsharp/run.sh
2019-06-01 01:04:15 -04:00

6 lines
153 B
Bash

mkdir "$CODEDIR" && cd "$CODEDIR"
printf %s "$1" > program.fs
fsharpc --optimize- program.fs >/dev/null && mono program.exe
cd .. && rm -rf "$CODEDIR"