compiler-discord/docker/ocaml/run.sh
2019-03-15 21:43:40 -04:00

2 lines
83 B
Bash

echo "$1" > program.ml
ocamlopt -cclib --static -o program program.ml && ./program