compiler-discord/docker/clojure/run.sh

7 lines
120 B
Bash
Raw Normal View History

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