compiler-discord/docker/ocaml/run.sh

3 lines
83 B
Bash
Raw Normal View History

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