compiler-discord/docker/clojure/run.sh
2019-06-01 01:21:22 -04:00

6 lines
120 B
Bash

mkdir "$CODEDIR" && cd "$CODEDIR"
printf %s "$1" > program.clj
clojure program.clj || true
cd .. && rm -rf "$CODEDIR"