Make the "tests" target actually work (and run the tests). But we'll not run
the tests on every "dist" build, we'll just stick with the current behavior of only compiling the tests (to make sure they don't rot). In a better world ooo-libs would have a testall target which runs the tests on all the projects it builds, so that we actually got the benefit of the few unit tests we have. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@909 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -177,16 +177,19 @@
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<!-- builds the various tests -->
|
||||
<target name="tests">
|
||||
<ant dir="tests" target="compile"/>
|
||||
<target name="tcompile" description="Builds (but does not run) the tests.">
|
||||
<ant dir="tests" target="compile" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<target name="tests" description="Builds and runs the tests.">
|
||||
<ant dir="tests" target="tests" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- a target for rebuilding everything -->
|
||||
<target name="all" depends="clean,prepare,compile,ninstall,javadoc,tests,dist"/>
|
||||
<target name="all" depends="clean,prepare,compile,ninstall,tests,javadoc,dist"/>
|
||||
|
||||
<!-- builds our distribution files (war and jar) -->
|
||||
<target name="dist" depends="prepare,compile,procstream,ninstall,aslib,tests">
|
||||
<target name="dist" depends="prepare,compile,tcompile,procstream,ninstall,aslib">
|
||||
<!-- build our various jar files -->
|
||||
<jar destfile="${deploy.dir}/${lib.name}-rsrc.jar">
|
||||
<fileset dir="${classes.dir}" includes="com/threerings/resource/**"/>
|
||||
|
||||
Reference in New Issue
Block a user