compiler-discord/docker/ocaml/run.sh

3 lines
96 B
Bash
Raw Normal View History

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