mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Merge pull request #10 from mat007/update-for-release
Update for release
This commit is contained in:
commit
32bd5a2d29
2 changed files with 19 additions and 14 deletions
|
|
@ -29,33 +29,35 @@
|
|||
<run dir="." script="build"/>
|
||||
</target>
|
||||
|
||||
<target name="release" depends="build" description="produce release packages">
|
||||
<target name="package" depends="build" description="produce release packages">
|
||||
<fail unless="version" message="missing version property"/>
|
||||
<copy file="version.hpp" tofile="${out.dir}/version.hpp">
|
||||
<copy file="version.hpp" tofile="${out.dir}/version.hpp" overwrite="true">
|
||||
<filterset>
|
||||
<filter token="MOCK_VERSION" value="${version}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
<mkdir dir="${dist.dir}"/>
|
||||
<zip destfile="${dist.dir}/${ant.project.name}-${version}.zip">
|
||||
<fileset dir="${dist.dir}" includes="include/**"/>
|
||||
<fileset dir="${src.dir}" includes="include/**"/>
|
||||
<zipfileset dir="${doc.dir}/html" prefix="doc"/>
|
||||
<zipfileset dir="${out.dir}" includes="version.hpp" prefix="include/turtle"/>
|
||||
</zip>
|
||||
<tar destfile="${dist.dir}/${ant.project.name}-${version}.tar.bz2" compression="bzip2">
|
||||
<fileset dir="${dist.dir}" includes="include/**"/>
|
||||
<fileset dir="${src.dir}" includes="include/**"/>
|
||||
<zipfileset dir="${doc.dir}/html" prefix="doc"/>
|
||||
<zipfileset dir="${out.dir}" includes="version.hpp" prefix="include/turtle"/>
|
||||
</tar>
|
||||
</target>
|
||||
|
||||
<target name="all" depends="build,reports,release" description="build documentation, run tests and package distribution"/>
|
||||
<target name="all" depends="build,reports,package" description="build documentation, run tests and package distribution"/>
|
||||
|
||||
<target name="boost.convert" description="convert Boost.Mock">
|
||||
<delete dir="${boost-mock.dir}"/>
|
||||
<copy todir="${boost-mock.dir}">
|
||||
<fileset dir="${root.dir}"/>
|
||||
<fileset dir="${root.dir}" excludes="bin/**"/>
|
||||
</copy>
|
||||
<move file="${boost-mock.dir}/include/turtle" tofile="${boost-mock.dir}/include/boost/mock"/>
|
||||
<delete dir="${boost-mock.dir}/doc/html/turtle"/>
|
||||
<replaceregexp match="MOCK" replace="BOOST_MOCK" flags="g">
|
||||
<fileset dir="${boost-mock.dir}" includes="**/*.cpp,**/*.hpp,**/*.qbk"/>
|
||||
</replaceregexp>
|
||||
|
|
@ -108,13 +110,14 @@
|
|||
</target>
|
||||
|
||||
<target name="boost.package" depends="boost.build" description="package Boost.Mock">
|
||||
<zip destfile="${out.dir}/boost-mock.zip">
|
||||
<fileset dir="${boost-mock.dir}" includes="libs/mock/**" excludes="**/bin/**"/>
|
||||
<fileset dir="${boost-mock.dir}" includes="LICENSE_1_0.txt"/>
|
||||
<fail unless="version" message="missing version property"/>
|
||||
<zip destfile="${dist.dir}/boost-mock-${version}.zip">
|
||||
<fileset dir="${boost-mock.dir}" includes="include/**,test/**,doc/**" excludes="**/bin/**"/>
|
||||
<fileset dir="${boost-mock.dir}" includes="LICENSE_1_0.txt,index.html"/>
|
||||
</zip>
|
||||
<tar destfile="${out.dir}/boost-mock.tar.bz2" compression="bzip2">
|
||||
<fileset dir="${boost-mock.dir}" includes="libs/mock/**" excludes="**/bin/**"/>
|
||||
<fileset dir="${boost-mock.dir}" includes="LICENSE_1_0.txt"/>
|
||||
<tar destfile="${dist.dir}/boost-mock-${version}.tar.bz2" compression="bzip2">
|
||||
<fileset dir="${boost-mock.dir}" includes="include/**,test/**,doc/**" excludes="**/bin/**"/>
|
||||
<fileset dir="${boost-mock.dir}" includes="LICENSE_1_0.txt,index.html"/>
|
||||
</tar>
|
||||
</target>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
[section Changelog]
|
||||
|
||||
[section unreleased]
|
||||
Not yet released
|
||||
[section 1.2.7]
|
||||
Released 25 April 2015
|
||||
|
||||
* Dropped support for obsolete Boost.Phoenix V2
|
||||
* Added support for multiple parameters constraints
|
||||
|
|
@ -17,6 +17,8 @@ Not yet released
|
|||
* Fixed mocking protected member function
|
||||
* Document how actions store data by copy
|
||||
|
||||
[endsect]
|
||||
|
||||
[section 1.2.6]
|
||||
Released 24 May 2014
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue