Skip to content

Commit

Permalink
Run tests without downloading tla2tools.jar with ant -Dskip.download=…
Browse files Browse the repository at this point in the history
…true compile test
  • Loading branch information
lemmy committed Nov 20, 2019
1 parent cf035c6 commit 16e9477
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
<mkdir dir="${lib}"/>
</target>

<target name="compile" depends="init" description="compile the java module overwrites">
<target name="download" depends="init" description="downloads tla2tools.jar" unless="skip.download">
<get src="https://nightly.tlapl.us/dist/tla2tools.jar" dest="${lib}"/>
</target>

<target name="compile" depends="download" description="compile the java module overwrites">
<javac srcdir="${src}" destdir="${build}" classpath="${lib}/tla2tools.jar"
source="1.8"
target="1.8"
Expand Down

0 comments on commit 16e9477

Please sign in to comment.