Files
Tippy/build.xml
Julien Lengrand-Lambert c8361cfb46 Moves examples to a more logical position
Signed-off-by: Julien Lengrand-Lambert <julien@lengrandlambert.fr>
2011-12-05 22:06:00 +01:00

30 lines
950 B
XML

<project name="Tippy" default="tests" basedir=".">
<taskdef resource="pyAntTasks.properties"/>
<property name="src.dir" value="tippy"/>
<property name="ex.dir" value="examples"/>
<property name="tests.dir" value="tippy/tests"/>
<!--Clean Project -->
<!--TODO -->
<!--Compiling sources -->
<target name="compile all">
<py-compile dir="${src.dir}" pythonpath="${src.dir}" optimize="0"/>
</target>
<target name="compile examples">
<py-compile dir="${ex.dir}" pythonpath="${ex.dir}" optimize="0"/>
</target>
<target name="compile tests">
<py-compile dir="${tests.dir}" pythonpath="${tests.dir}" optimize="0"/>
</target>
<!--Run all tests -->
<target name="tests">
<py-test pythonpath="." dir="${src.dir}">
<fileset dir="${src.dir}">
<include name="*/test_*"/>
</fileset>
</py-test>
</target>
<!-- Generate Documentation -->
<!--TODO -->
<!-- Build Executable -->
<!--TODO -->
</project>