compiler-discord/docker/ocaml/run.sh
1computer1 d25e0be634 Use less predicatable folder names
This removes the count
2019-05-20 20:34:51 -04:00

6 lines
146 B
Bash

mkdir "$CODEDIR" && cd "$CODEDIR"
echo "$1" > program.ml
ocamlopt -cclib --static -o program program.ml && ./program
cd .. && rm -rf "$CODEDIR"