do not add .phar files to .phar
authorChristian Weiske <cweiske@cweiske.de>
Thu, 17 Apr 2014 16:48:06 +0000 (18:48 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 17 Apr 2014 16:48:06 +0000 (18:48 +0200)
build.xml

index 8d18b1c..6c9fc22 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -6,7 +6,6 @@
  <property name="libdir" value="${phing.dir}/lib"/>
 
  <fileset id="fs.phar" dir="${phing.dir}">
-<!---->
   <include name="data/**"/>
   <include name="lib/**"/>
   <include name="src/**"/>
@@ -17,8 +16,7 @@
 
   <exclude name="data/phancap.config.php"/>
   <exclude name="www/imgcache/"/>
-<!--
-  <include name="www/index.php"/> -->
+  <exclude name="www/*.phar"/>
  </fileset>
 
  <typedef name="pearPackageFileSet" classname="phing.types.PearPackageFileSet" />
   <pharpackage basedir="${phing.dir}"
    destfile="${pharfile}"
    stub="${phing.dir}/src/phar-stub.php"
-   alias="test.phar"
+   alias="phancap.phar"
   >
    <fileset refid="fs.phar"/>
   </pharpackage>
-  <!--
+
   <exec executable="bzip2" dir="${phing.dir}/dist">
    <arg value="-kf"/>
    <arg file="${pharfile}"/>
   </exec>
-  -->
  </target>