compiler-discord/docker/fsharp/run.sh

6 lines
142 B
Bash

mkdir "$COUNT" && cd "$COUNT"
echo "$1" > program.fs
fsharpc --optimize- program.fs >/dev/null && mono program.exe
cd .. && rm -rf "$COUNT"