Let's have the tests target build and run the tests, not just build them.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@529 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-12-14 00:04:17 +00:00
parent 72136ba945
commit 7c3b05a63a
+8 -3
View File
@@ -212,15 +212,20 @@
</target>
<!-- builds the various tests -->
<target name="tests">
<target name="tcompile">
<ant dir="tests" target="compile"/>
</target>
<!-- builds and runs our tests -->
<target name="tests">
<ant dir="tests" target="test"/>
</target>
<!-- a target for rebuilding everything -->
<target name="all" depends="clean,prepare,compile,javadoc,tests,dist"/>
<target name="all" depends="clean,prepare,compile,tcompile,javadoc,dist"/>
<!-- builds our distribution files (war and jar) -->
<target name="dist" depends="prepare,compile,procstream,tests">
<target name="dist" depends="prepare,compile,tcompile,procstream">
<!-- build our various jar files -->
<jar destfile="${deploy.dir}/${app.name}-parlor.jar">
<fileset dir="${classes.dir}" includes="rsrc/i18n/game/**"/>