Fixing build to place package.xml at root of package.
This commit is contained in:
parent
2db8ad30a9
commit
642c863bd3
@ -1,4 +1,4 @@
|
||||
version_name=2.0.0-ALPHA2
|
||||
version_name=2.0.0BETA2
|
||||
version=2.0.0
|
||||
stability=alpha
|
||||
build.dir=build
|
||||
|
16
build.xml
16
build.xml
@ -17,8 +17,6 @@
|
||||
-->
|
||||
<fileset id="shared-artifacts" dir=".">
|
||||
<include name="LICENSE"/>
|
||||
<include name="COPYRIGHT"/>
|
||||
<include name="CHANGELOG"/>
|
||||
</fileset>
|
||||
|
||||
<!--
|
||||
@ -146,7 +144,7 @@
|
||||
-->
|
||||
<target name="build-packages" depends="build-orm">
|
||||
|
||||
<d51pearpkg2 baseinstalldir="/" dir="${build.dir}/orm/DoctrineORM-${version}">
|
||||
<d51pearpkg2 baseinstalldir="/" dir="${build.dir}/orm">
|
||||
<name>DoctrineORM</name>
|
||||
<summary>Doctrine Object Relationl Mapper</summary>
|
||||
<channel>pear.doctrine-project.org</channel>
|
||||
@ -162,13 +160,13 @@
|
||||
<php minimum_version="5.3.0" />
|
||||
<pear minimum_version="1.6.0" recommended_version="1.6.1" />
|
||||
</dependencies>
|
||||
<dirroles key="bin">script</dirroles>
|
||||
<replacement path="bin/doctrine" type="pear-config" from="@php_bin@" to="php_bin" />
|
||||
<replacement path="bin/doctrine.php" type="pear-config" from="@php_bin@" to="php_bin" />
|
||||
<replacement path="bin/doctrine.php" type="pear-config" from="@bin_dir@" to="bin_dir" />
|
||||
<dirroles key="DoctrineORM-${version}/bin">script</dirroles>
|
||||
<replacement path="DoctrineORM-${version}/bin/doctrine" type="pear-config" from="@php_bin@" to="php_bin" />
|
||||
<replacement path="DoctrineORM-${version}/bin/doctrine.php" type="pear-config" from="@php_bin@" to="php_bin" />
|
||||
<replacement path="DoctrineORM-${version}/bin/doctrine.php" type="pear-config" from="@bin_dir@" to="bin_dir" />
|
||||
<release>
|
||||
<install as="doctrine" name="bin/doctrine" />
|
||||
<install as="doctrine.php" name="bin/doctrine.php" />
|
||||
<install as="doctrine" name="DoctrineORM-${version}/bin/doctrine" />
|
||||
<install as="doctrine.php" name="DoctrineORM-${version}/bin/doctrine.php" />
|
||||
</release>
|
||||
</d51pearpkg2>
|
||||
<tar destfile="${dist.dir}/DoctrineORM-${version_name}.tgz" basedir="${build.dir}/orm" compression="gzip" />
|
||||
|
Loading…
Reference in New Issue
Block a user