Permalink
Browse files

Simplify the pear task a bit.

  • Loading branch information...
1 parent a6fb384 commit 10c26d572a29fc607bba684a62a5d1f7188438bc @whatthejeff committed Apr 19, 2011
Showing with 6 additions and 14 deletions.
  1. +6 −14 build.xml
View
@@ -107,24 +107,16 @@
<replace file="${basedir}/build/pear/package.xml" token="@date@" value="${BUILD_DATE}"/>
<!-- Build pear package -->
- <exec executable="pear">
- <arg line="package ${basedir}/build/pear/package.xml" />
+ <exec executable="pear" dir="${basedir}/build/pear">
+ <arg line="package package.xml" />
</exec>
- <!-- Cleanup -->
+ <!-- Clean up -->
<delete includeemptydirs="true">
- <fileset dir="${basedir}/build/pear">
- <include name="**/*" />
- </fileset>
- </delete>
-
- <!-- Move pear package to build directory -->
- <move todir="${basedir}/build/pear">
- <fileset dir="${basedir}">
- <include name="Breeze*.tgz" />
+ <fileset dir="${basedir}/build/pear">
+ <exclude name="Breeze*.tgz" />
</fileset>
- </move>
-
+ </delete>
</target>
<!-- Build All -->

0 comments on commit 10c26d5

Please sign in to comment.