compiler-discord/docker/java/run.sh

6 lines
108 B
Bash

mkdir "$COUNT" && cd "$COUNT"
echo "$1" > Main.java
javac Main.java && java Main
cd .. && rm -rf "$COUNT"