Update the Java runner to allow executing the Generic variant
This commit is contained in:
parent
fb5277ae5f
commit
e25a02d7e3
1 changed files with 7 additions and 1 deletions
6
run
6
run
|
|
@ -12,4 +12,10 @@ if [[ $1 -lt 10 ]]; then
|
|||
day="0$1"
|
||||
fi;
|
||||
|
||||
$JAVA_BIN/javac jlib/*.java
|
||||
|
||||
if [[ $2 -eq "g" ]]; then
|
||||
$JAVA_BIN/java --class-path jlib/*:. day_$day/java/Generic.java "${@:3}"
|
||||
else
|
||||
$JAVA_BIN/java --class-path jlib/*:. day_$day/java/Part$2.java "${@:3}"
|
||||
fi;
|
||||
Loading…
Add table
Add a link
Reference in a new issue