diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-08 15:14:07 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-08 15:14:07 +0200 |
commit | 42ed180aef0de55ab94760e6daf24b0dbd446054 (patch) | |
tree | 5b1ec4ce5ac5ea3ec33848d61b8c85750e337f73 /build.xml | |
parent | a24ea15f02cdb3c7bfeb90a0e0fde850b2853b6b (diff) | |
download | dokka-42ed180aef0de55ab94760e6daf24b0dbd446054.tar.gz dokka-42ed180aef0de55ab94760e6daf24b0dbd446054.tar.bz2 dokka-42ed180aef0de55ab94760e6daf24b0dbd446054.zip |
Ant task to run tests
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -38,6 +38,28 @@ </jar> </target> + <target name="test" depends="build"> + <mkdir dir="out/test"/> + + <kotlinc src="test/src" output="out/test"> + <classpath> + <fileset dir="lib" includes="*.jar"/> + <fileset dir="out" includes="dokka.jar" /> + </classpath> + </kotlinc> + + <junit fork="true"> + <classpath> + <fileset dir="lib" includes="*.jar"/> + <fileset dir="out" includes="dokka.jar" /> + <pathelement path="out/test"/> + </classpath> + <batchtest> + <fileset dir="out/test"/> + </batchtest> + </junit> + </target> + <target name="fatjar" depends="build"> <exec executable="${basedir}/dokka-fatjar/gradlew" dir="dokka-fatjar" osfamily="unix" failonerror="true"> <arg value="assemble" /> |