File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- FROM techio/maven3-builder:1.3
1+ FROM techio/maven3-builder:1.4
2+
3+ ENV TECHIO_RUN_DIR /project/answer
24
35# Copy files
4- COPY target/java-maven3-junit4-runner-0.0.1-SNAPSHOT-jar-with-dependencies.jar /usr/src/codingame/junit-runner/junit-runner.jar
56COPY docker/junit-runner /usr/src/codingame/junit-runner/
6-
7- ENV CG_RUN_DIR /project/answer
7+ COPY target/java-maven3-junit4-runner-0.0.1-SNAPSHOT-jar-with-dependencies.jar /usr/src/codingame/junit-runner/junit-runner.jar
88
99ENTRYPOINT ["/usr/src/codingame/junit-runner/junit-runner" ]
10-
Original file line number Diff line number Diff line change 22
33First, this runner compiles the project and generate all jars (project + dependencies).
44
5- At each play, it compiles user's answer using ` javac ` and run the specified testcase using junit4.
5+ At each play, it compiles user's answer using ` javac ` and run the specified testcase using junit4.
66
77
88# How to Use
99
1010To use this runner for your project, edit the ` codingame.yml ` file and add the following lines to your project:
1111
12- runner: techio/java-maven3-junit4-runner:1.1.3 -java-8
12+ runner: techio/java-maven3-junit4-runner:1.1.4 -java-8
1313
1414## Example
1515
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ executionExitCode=0
55JARS_DIR=" /project/target/jars"
66WORKSPACE_DIR=" /project/workspace"
77
8- cd ${CG_RUN_DIR }
8+ cd ${TECHIO_RUN_DIR }
99
1010classpath=$( echo ${JARS_DIR} /* .jar | tr ' ' ' :' )
1111
You can’t perform that action at this time.
0 commit comments