mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added release target
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@699 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
4142f8dec2
commit
9eeed8f422
2 changed files with 19 additions and 9 deletions
|
|
@ -2,3 +2,4 @@ extensions = svn,headers,check
|
||||||
src.dir = ${root.dir}
|
src.dir = ${root.dir}
|
||||||
tests.dir = ${root.dir}
|
tests.dir = ${root.dir}
|
||||||
libraries.dir = ${root.dir}
|
libraries.dir = ${root.dir}
|
||||||
|
boost.dir = ${out.dir}/../boost
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
<import file="${env.PONEY_HOME}/poney.xml"/>
|
<import file="${env.PONEY_HOME}/poney.xml"/>
|
||||||
|
|
||||||
|
<property name="boost.dir" value="${out.dir}/../boost"/>
|
||||||
|
|
||||||
<target name="clean" description="clean intermediate build artifacts">
|
<target name="clean" description="clean intermediate build artifacts">
|
||||||
<delete dir="${out.dir}"/>
|
<delete dir="${out.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
@ -124,10 +126,8 @@
|
||||||
</tar>
|
</tar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<property name="boost.dir" value="${out.dir}/../boost"/>
|
<presetdef name="b2">
|
||||||
|
<exec taskname="b2" failonerror="true" executable="${env.BOOST_ROOT}/b2">
|
||||||
<presetdef name="bjam">
|
|
||||||
<exec taskname="bjam" failonerror="true" executable="${env.BOOST_ROOT}/bjam">
|
|
||||||
<arg value="-q"/>
|
<arg value="-q"/>
|
||||||
</exec>
|
</exec>
|
||||||
</presetdef>
|
</presetdef>
|
||||||
|
|
@ -214,11 +214,11 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="boost.test" description="run boost.mock tests in ${boost.dir}">
|
<target name="boost.test" description="run boost.mock tests in ${boost.dir}">
|
||||||
<bjam dir="${boost.dir}/libs/mock/test"/>
|
<b2 dir="${boost.dir}/libs/mock/test"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="boost.doc" description="generate boost.mock documentation in ${boost.dir}">
|
<target name="boost.doc" description="generate boost.mock documentation in ${boost.dir}">
|
||||||
<bjam dir="${boost.dir}/libs/mock/doc"/>
|
<b2 dir="${boost.dir}/libs/mock/doc"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="boost.package" description="package boost.mock">
|
<target name="boost.package" description="package boost.mock">
|
||||||
|
|
@ -233,6 +233,15 @@
|
||||||
|
|
||||||
<target name="boost" depends="boost.generate,boost.convert,boost.test,boost.doc" description="convert to boost with documentation and tests"/>
|
<target name="boost" depends="boost.generate,boost.convert,boost.test,boost.doc" description="convert to boost with documentation and tests"/>
|
||||||
|
|
||||||
|
<target name="release" depends="documentation,package">
|
||||||
|
<fail unless="version" message="missing version property"/>
|
||||||
|
<zip file="${dist.dir}/${ant.project.name}-${version}.zip">
|
||||||
|
<fileset dir="${dist.dir}" includes="include/**"/>
|
||||||
|
<fileset dir="${root.dir}" includes="*.txt"/>
|
||||||
|
<zipfileset dir="${boost.dir}/libs/mock/doc/html" prefix="doc"/>
|
||||||
|
</zip>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="all" depends="configure,test,bench,reports,export,package" description="configure, build and run tests and benchmark, export and package distribution"/>
|
<target name="all" depends="configure,test,bench,reports,export,package" description="configure, build and run tests and benchmark, export and package distribution"/>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue