Skip to content

Commit

Permalink
Fixed build system for template-based PEAR builds with Pyrus.
Browse files Browse the repository at this point in the history
  • Loading branch information
technosophos committed Oct 21, 2010
1 parent 536bada commit 87c3f7b
Show file tree
Hide file tree
Showing 3 changed files with 1,499 additions and 2 deletions.
14 changes: 12 additions & 2 deletions build.xml
Expand Up @@ -71,6 +71,11 @@ To print this message, do:
<taskdef classname="PhingPyrus.Task.PyrusPackageTask" name="pyruspackage"/>
<taskdef classname="PhingPyrus.Task.PyrusHelpTask" name="pyrushelp"/>
<taskdef classname="PhingPyrus.Task.PyrusExecTask" name="pyrusexec"/>

<!--
<includepath classpath="../Phing-QueryPath/src"/>
<taskdef classname="PhingQueryPath.Task.QueryPathReplacementTask" name="qpreplace"/>
-->

<!-- Global properties -->
<property name="srcdir" value="./src"/>
Expand All @@ -79,7 +84,7 @@ To print this message, do:
<property name="docsdir" value="./doc"/>
<property name="packagedir" value="./dist"/>
<property name="phardir" value="./phar"/>
<property name="pearchannel" value="../pear.querypath.org/pear"/>
<property name="pirum.channel.path" value="../pear.querypath.org/pear"/>

<!-- ported from PhingPyrus -->
<property name="pear.channel" value="pear.querypath.org"/>
Expand Down Expand Up @@ -463,6 +468,10 @@ To print this message, do:
</copy>
<copy todir="${releasedir}">
<fileset refid="licensefiles"/>
<fileset dir=".">
<include name="package.xml"/>
<include name="package_compatible.xml"/>
</fileset>
</copy>
<copy todir="${releasedir}/doc">
<fileset dir="${docsdir}">
Expand All @@ -478,6 +487,7 @@ To print this message, do:
<pyrusmake dir="${releasedir}" packagename="${projectname}" channel="${pear.channel}"/>
<pyruspackage packagexml="${releasedir}/package.xml"/>
<move file="${projectname}-${version}.tgz" tofile="${packagedir}/${projectname}-${version}.tgz"/>


<!--
<pearpkg2 name="QueryPath" dir="./">
Expand Down Expand Up @@ -537,7 +547,7 @@ To print this message, do:
<target name="pearPkg" depends="pearBuild">
<echo>${packagedir}/QueryPath-${version}.tgz</echo>
<!--property name="pirumdir" value="${testdir}/fakepear"/-->
<property name="pirumdir" value="${pearchannel}"/>
<property name="pirumdir" value="${pirum.channel.path}"/>
<pirumbuild targetdir="${pirumdir}"/>
<pirumadd targetdir="${pirumdir}" packagefile="${packagedir}/QueryPath-${version}.tgz"/>
</target>
Expand Down

0 comments on commit 87c3f7b

Please sign in to comment.