mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added text files from root in packaging
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@119 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
0e5deb6115
commit
facdfbb6f9
1 changed files with 12 additions and 6 deletions
|
|
@ -17,13 +17,13 @@
|
|||
</build-test>
|
||||
</target>
|
||||
|
||||
<target name="bench" description="run benchmark">
|
||||
<target name="bench" description="build compilation benchmark">
|
||||
<build-app name="turtle_bench" mode="all">
|
||||
<includepath path="${applications.dir}/turtle_bench"/>
|
||||
</build-app>
|
||||
</target>
|
||||
|
||||
<target name="export" description="export the distribution">
|
||||
<target name="export" description="export distribution">
|
||||
<deploy>
|
||||
<module name="turtle">
|
||||
<include name="**/*.hpp"/>
|
||||
|
|
@ -31,12 +31,18 @@
|
|||
</deploy>
|
||||
</target>
|
||||
|
||||
<target name="package" depends="export" description="package the distribution">
|
||||
<target name="package" depends="export" description="package distribution">
|
||||
<mkdir dir="${dist.dir}"/>
|
||||
<zip destfile="${dist.dir}/${ant.project.name}.zip" basedir="${dist.dir}" includes="include/**"/>
|
||||
<tar destfile="${dist.dir}/${ant.project.name}.tar.bz2" basedir="${dist.dir}" includes="include/**" compression="bzip2"/>
|
||||
<zip destfile="${dist.dir}/${ant.project.name}.zip">
|
||||
<fileset dir="${dist.dir}" includes="include/**"/>
|
||||
<fileset dir="${root.dir}" includes="*.txt"/>
|
||||
</zip>
|
||||
<tar destfile="${dist.dir}/${ant.project.name}.tar.bz2" compression="bzip2">
|
||||
<fileset dir="${dist.dir}" includes="include/**"/>
|
||||
<fileset dir="${root.dir}" includes="*.txt"/>
|
||||
</tar>
|
||||
</target>
|
||||
|
||||
<target name="all" depends="configure,test,export,package" description="build, run tests and package application"/>
|
||||
<target name="all" depends="configure,test,export,package" description="configure, build and run tests, export and package distribution"/>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue