compiler-discord/docker/ocaml/run.sh

7 lines
140 B
Bash
Raw Normal View History

mkdir "$COUNT" && cd "$COUNT"
2019-03-16 02:43:40 +01:00
echo "$1" > program.ml
ocamlopt -cclib --static -o program program.ml && ./program
cd .. && rm -rf "$COUNT"