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

2 lines
96 B
Bash

printf %s "$1" > program.ml
ocamlopt -cclib --static -o program program.ml && ./program || true