OSDN Git Service

delete files used for generating pear packages.
authorscribu <mail@scribu.net>
Tue, 12 Feb 2013 04:37:07 +0000 (06:37 +0200)
committerscribu <mail@scribu.net>
Wed, 13 Feb 2013 00:45:05 +0000 (02:45 +0200)
see #301. closes #39

.gitignore
build.local.xml [deleted file]
build.properties [deleted file]
build.xml [deleted file]
package.xml [deleted file]
utils/pear-build [deleted file]

index 8e2a674..abb9c75 100644 (file)
@@ -1,6 +1,3 @@
-/.build
-/src
-/dist
 /vendor
 /composer.lock
 /phpunit.xml
diff --git a/build.local.xml b/build.local.xml
deleted file mode 100644 (file)
index 90aa3bc..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<project name="local" default="help">
-  <target name="help">
-    <echo message="This component has no local build targets." />
-  </target>
-</project>
-<!-- vim: set tabstop=2 shiftwidth=2 expandtab: -->
diff --git a/build.properties b/build.properties
deleted file mode 100644 (file)
index dcab1de..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-project.name=wpcli
-project.channel=wp-cli.org/pear
-project.majorVersion=0
-project.minorVersion=8
-project.patchLevel=0
-project.snapshot=false
-
-checkstyle.standard=Zend
-
-component.type=php-library
-component.version=10
-
-pear.local=/var/www/${project.channel}
diff --git a/build.xml b/build.xml
deleted file mode 100644 (file)
index 4264119..0000000
--- a/build.xml
+++ /dev/null
@@ -1,437 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- build file for phing -->
-<project default="help" basedir=".">
-  <!-- Human-readable info about our component -->
-  <property file="build.properties" />
-  <taskdef name="now" classname="Phix_Project.ComponentManager.Phing.NowTask" />
-  <now name="date.now"/>
-  <if>
-    <and>
-      <isset property="project.snapshot"/>
-      <istrue value="${project.snapshot}"/>
-    </and>
-    <then>
-      <property name="project.version" value="${project.majorVersion}.${project.minorVersion}.${project.patchLevel}snapshot${date.now}" />
-      <property name="project.stability" value="snapshot" />
-    </then>
-    <else>
-      <property name="project.version" value="${project.majorVersion}.${project.minorVersion}.${project.patchLevel}" />
-      <property name="project.stability" value="stable" />
-    </else>
-  </if>
-  <property name="project.apiversion"      value="${project.majorVersion}.${project.minorVersion}" />
-
-  <!-- Paths to the directories that we work with -->
-  <property name="project.srcdir"          value="${project.basedir}" override="true" />
-  <property name="project.src.phpdir"      value="${project.srcdir}/php" override="true" />
-  <property name="project.src.bindir"      value="${project.srcdir}/bin" override="true" />
-  <property name="project.src.datadir"     value="${project.srcdir}/data" override="true" />
-  <property name="project.src.docdir"      value="${project.srcdir}/docs" override="true" />
-  <property name="project.src.testdir"     value="${project.srcdir}/tests" override="true" />
-  <property name="project.src.wwwdir"      value="${project.srcdir}/www" override="true" />
-  <property name="project.src.testunitdir" value="${project.src.testdir}/unit-tests" override="true" />
-  <property name="project.src.testintdir"  value="${project.src.testdir}/integration-tests" override="true" />
-  <property name="project.src.testfuncdir" value="${project.src.testdir}/functional-tests" override="true" />
-
-  <property name="project.reviewdir"       value="${project.basedir}/review" override="true" />
-  <property name="project.review.logsdir"  value="${project.basedir}/review/logs" override="true" />
-  <property name="project.review.docsdir"  value="${project.reviewdir}/docs" override="true" />
-  <property name="project.review.codebrowserdir" value="${project.reviewdir}/code-browser" override="true" />
-  <property name="project.review.codecoveragedir" value="${project.reviewdir}/code-coverage" override="true" />
-
-  <property name="project.builddir"        value="${project.basedir}/.build"  override="true" />
-  <property name="project.pkgdir"          value="${project.builddir}/${project.name}-${project.version}" override="true" />
-  <property name="project.tmpdir"          value="${project.basedir}/.tmp" override="true" />
-
-  <property name="project.vendordir"       value="${project.basedir}/vendor" override="true" />
-  <property name="project.vendor.bindir"   value="${project.vendordir}/bin" override="true" />
-  <property name="project.vendor.datadir"  value="${project.vendordir}/data" override="true" />
-  <property name="project.vendor.phpdir"   value="${project.vendordir}/php" override="true" />
-  <property name="project.vendor.testdir"  value="${project.vendordir}/tests" override="true" />
-  <property name="project.vendor.docdir"   value="${project.vendordir}/docs" override="true" />
-  <property name="project.vendor.wwwdir"   value="${project.vendordir}/www" override="true" />
-
-  <property name="project.distdir"         value="${project.basedir}/dist" />
-  <property name="project.distdir.lastBuilt" value="${project.basedir}/dist/lastBuilt" />
-  <property name="project.tarfilename"     value="${project.name}-${project.version}.tgz" />
-  <property name="project.tarfile"         value="${project.distdir}/${project.tarfilename}" />
-
-  <!-- what was the last PEAR package we created, if any? -->
-  <if>
-    <available file="${project.distdir.lastBuilt}"/>
-    <then>
-      <property file="${project.distdir.lastBuilt}"/>
-    </then>
-    <else>
-      <property name="project.lastBuiltTarfile" value="false"/>  
-    </else>
-  </if>
-
-  <!-- override this if you want to run additional PEAR commands -->
-  <property name="pear.cmd" value="" override="true" />
-
-  <!-- lists of the files that make up our package -->
-  <fileset dir="${project.src.bindir}" id="binfiles">
-    <include name="**/**"/>
-    <exclude name="**/.DS_Store"/>
-    <exclude name="**/.empty"/>
-    <exclude name="**/.git*"/>
-  </fileset>
-  <fileset dir="${project.src.datadir}" id="datafiles">
-    <include name="**/**"/>
-    <exclude name="**/.DS_Store"/>
-    <exclude name="**/.empty"/>
-    <exclude name="**/.git*"/>
-  </fileset>
-  <fileset dir="${project.src.phpdir}" id="phpfiles">
-    <include name="**/*.php"/>
-  </fileset>
-  <fileset dir="${project.src.testunitdir}/php" id="testfiles">
-    <include name="**/**"/>
-    <exclude name="**/.DS_Store"/>
-    <exclude name="**/.empty"/>
-    <exclude name="**/.git*"/>
-  </fileset>
-  <fileset dir="${project.src.wwwdir}" id="wwwfiles">
-    <include name="**/**" />
-    <exclude name="**/.DS_Store"/>
-    <exclude name="**/.empty"/>
-    <exclude name="**/.git*"/>
-  </fileset>
-  <fileset dir="${project.src.docdir}" id="docfiles">
-    <include name="**/**" />
-    <exclude name="**/.DS_Store"/>
-    <exclude name="**/.empty"/>
-    <exclude name="**/.git*"/>
-  </fileset>
-  <fileset dir="${project.basedir}" id="topleveldocfiles">
-    <include name="*.txt" />
-    <include name="*.md" />
-  </fileset>
-
-  <taskdef name="phingcallifexists" classname="Phix_Project.ComponentManager.Phing.PhingCallIfExistsTask" />
-  <import file="build.local.xml"/>
-  
-  <!-- Tell the user what this build file supports -->
-  <target name="help">
-    <echo message="${project.name} ${project.version}: build.xml targets:" />
-    <echo message="" />
-    <echo message="Setup your dev environment:" />
-    <echo message="" />
-    <echo message="  build-vendor" />
-    <echo message="    Populate vendor/ with this package's dependencies" />
-    <echo message="  vendor-pear" />
-    <echo message="    Run additional PEAR commands inside the vendor folder" />
-    <echo message="" />
-    <echo message="Develop your code:" />
-    <echo message="" />
-    <echo message="  lint" />
-    <echo message="    Check the PHP files for syntax errors" />
-    <echo message="  test" />
-    <echo message="    Run the component's PHPUnit tests" />
-    <echo message="  code-review" />
-    <echo message="    Run all of the code quality targets:" />
-    <echo message="" />
-    <echo message="    code-browser" />
-    <echo message="      Run code quality tests for PHP_CodeBrowser" />
-    <echo message="    phpcpd" />
-    <echo message="      Check for cut and paste problems" />
-    <echo message="    phpdoc" />
-    <echo message="      Create the PHP docs from source code" />
-    <echo message="" />
-    <echo message="Publish your component:" />
-    <echo message="" />
-    <echo message="  pear-package" />
-    <echo message="    Create a PEAR-compatible package" />
-    <echo message="  publish-local" />
-    <echo message="    Publish your PEAR-compatible package into a local copy" />
-    <echo message="    of your PEAR channel" />
-    <echo message="  install-vendor" />
-    <echo message="    Install this component from source into vendor/" />
-    <echo message="  install-system" />
-    <echo message="    Install this component from source for all local users" />
-    <echo message="    You must be root to run this target on Linux!!" />
-    <echo message=""/>
-    <echo message="Maintain your component:"/>
-    <echo message=""/>
-    <echo message="  upgrade-skeleton"/>
-    <echo message="    Upgrade the skeleton files for this component"/>
-    <echo message=""/>
-    <echo message="Additional targets:" />
-    <echo message=""/>
-    <echo message="  clean" />
-    <echo message="    Remove all temporary folders created by this build file" />
-    <echo message="  version" />
-    <echo message="    Show this component's version from build.properties" />
-    <echo message="" />
-    <phingcallifexists target="local.help" />
-  </target>
-
-  <!-- Show the current version, as set in build.properties -->
-  <!-- This is just to be a time-saver -->
-  <target name="version">
-    <echo message="${project.version}" />
-  </target>
-
-  <!-- Run PHP lint on all of the source code -->
-  <target name="lint">
-    <phplint>
-      <fileset dir="${project.src.phpdir}">
-        <include name="**/*.php" />
-      </fileset>
-    </phplint>
-    <phingcallifexists target="local.lint" />
-  </target>
-
-  <!-- Run the unit tests for this module -->
-  <target name="run-unittests" depends="lint">
-    <!-- Make sure vendor/ folder exists -->
-    <if>
-      <not>
-        <available file="${project.vendordir}" type="dir"/>
-      </not>
-      <then>
-        <phingcall target="build-vendor"/>
-      </then>
-    </if>
-
-    <!-- do we have any tests? -->
-    <!-- currently cannot think of a reliable way to test this in phing -->
-
-    <!-- run the tests -->
-    <delete dir="${project.review.codecoveragedir}" />
-    <mkdir dir="${project.review.codecoveragedir}" />
-    <mkdir dir="${project.review.logsdir}" />
-    <exec command="phpunit --configuration=phpunit.xml ${project.src.testunitdir}" checkreturn="true" logoutput="true"/>
-    <echo/>
-    <echo>The code coverage report is in file://${project.review.codecoveragedir}</echo>
-    <echo/>
-  </target>
-
-  <!-- Run all the tests for this module -->
-  <target name="test" depends="run-unittests">
-    <phingcallifexists target="local.test"/>
-  </target>
-
-  <!-- Run the code review quality tests -->
-  <target name="code-review" depends="run-unittests, code-browser, phpcpd, pdepend">
-    <phingcallifexists target="local.code-review"/>
-  </target>
-
-  <!-- Run all of the targets for setting up the code browser -->
-  <target name="code-browser" depends="phpmd, phpcs, phpcb">
-    <phingcallifexists target="local.code-browser"/>
-  </target>
-
-  <target name="pdepend">
-    <mkdir dir="${project.review.logsdir}" />
-    <exec command="pdepend --phpunit-xml=${project.review.logsdir}/pdepend.xml --jdepend-xml=${project.review.logsdir}/jdepend.xml --jdepend-chart=${project.review.logsdir}/dependencies.svg --overview-pyramid=${project.review.logsdir}/overview-pyramid.svg ${project.src.phpdir}" logoutput="true"/>
-  </target>
-
-  <!-- Generate package docs -->
-  <target name="phpdoc">
-    <mkdir dir="${project.review.logsdir}" />
-    <exec command="phpdoc -d ${project.src.phpdir} -t ${project.review.docsdir}" logoutput="true"/>
-    <echo message="You will find the PHPDoc for your project at: ${project.review.docsdir}/index.html"/>
-    <phingcallifexists target="local.phpdoc"/>
-  </target>
-
-  <!-- Check code for code smells -->
-  <target name="phpmd">
-    <mkdir dir="${project.review.logsdir}" />
-    <exec command="phpmd ${project.src.phpdir} xml codesize,design,naming,unusedcode --reportfile ${project.review.logsdir}/phpmd.xml" logoutput="true" />
-  </target>
-
-  <target name="phpcpd">
-    <mkdir dir="${project.review.logsdir}"/>
-    <exec command="phpcpd --log-pmd ${project.review.logsdir}/pmd-cpd.xml ${project.src.phpdir}" logoutput="true" />
-  </target>
-
-  <!-- Check the code for style violations -->
-  <target name="phpcs">
-    <mkdir dir="${project.review.logsdir}" />
-    <exec command="phpcs --report=xml --report-file=${project.review.logsdir}/checkstyle.xml --standard=${checkstyle.standard} --extensions=php ${project.src.phpdir}" logoutput="true"/>
-  </target>
-
-  <!-- Build the code-browser files -->
-  <target name="phpcb" depends="phpmd">
-    <delete dir="${project.review.codebrowserdir}" />
-    <mkdir dir="${project.review.codebrowserdir}" />
-    <exec command="phpcb --log ${project.review.logsdir} --source ${project.src.phpdir} --output ${project.review.codebrowserdir}" logoutput="true" />
-  </target>
-
-  <!-- Populate vendor with the dependencies for this component -->
-  <target name="build-vendor" depends="pear-package,setup-vendor">
-    <echo>Populating vendor/ with dependencies</echo>
-    <exec command="phix pear:register-channels" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config install --alldeps ${project.tarfile}" logoutput="true" checkreturn="true"/>
-    <echo/>
-    <echo>Your vendor/ folder has been built.</echo>
-    <echo>You only need to run 'phing build-vendor' again if you change the</echo>
-    <echo>dependencies listed in your package.xml file.</echo>
-    <echo/>
-    <phingcallifexists target="local.buildvendor"/>
-  </target>
-
-  <!-- Setup the vendor folder -->
-  <target name="setup-vendor">
-    <echo>Creating vendor/ as a sandboxed PEAR install folder</echo>
-    <delete dir="${project.vendordir}" />
-    <mkdir dir="${project.vendordir}" />
-    <delete dir="${project.tmpdir}" />
-    <mkdir dir="${project.tmpdir}" />
-    <exec command="pear config-create ${project.tmpdir} ${project.tmpdir}/pear-config" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config config-set preferred_state alpha" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config config-set php_dir ${project.vendor.phpdir}" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config config-set bin_dir ${project.vendor.bindir}" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config config-set data_dir ${project.vendor.datadir}" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config config-set doc_dir ${project.vendor.docdir}" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config config-set test_dir ${project.vendor.testdir}" checkreturn="true" logoutput="true" />
-    <exec command="pear -c ${project.tmpdir}/pear-config config-set www_dir ${project.vendor.wwwdir}" checkreturn="true" logoutput="true" />
-  </target>
-
-  <!-- Create the PEAR package, ready for release -->
-  <target name="pear-package">
-    <echo>Building release directory</echo>
-    <delete dir="${project.builddir}" />
-    <mkdir dir="${project.pkgdir}" />
-    <copy todir="${project.pkgdir}">
-      <fileset refid="binfiles"/>
-      <fileset refid="datafiles"/>
-      <fileset refid="phpfiles"/>
-      <fileset refid="testfiles"/>
-      <fileset refid="wwwfiles"/>
-      <fileset refid="docfiles"/>
-      <fileset refid="topleveldocfiles"/>
-    </copy>
-    <copy todir="${project.builddir}">
-      <fileset dir=".">
-        <include name="package.xml" />
-      </fileset>
-    </copy>
-
-    <exec command="phix pear:expand-package-xml" checkreturn="yes" logoutput="yes"/>
-
-    <echo>Creating ${project.tarfile} PEAR package</echo>
-
-    <mkdir dir="${project.distdir}" />
-    <delete file="${project.tarfile}" />
-    <tar destfile="${project.tarfile}" compression="gzip">
-      <fileset dir="${project.builddir}">
-        <include name="**/**" />
-      </fileset>
-    </tar>
-
-    <!-- remember the tarball we have just build -->
-    <property name="project.lastBuiltTarfile" value="${project.tarfile}" override="true"/>
-    <echo file="${project.distdir.lastBuilt}" append="false">project.lastBuiltTarfile=${project.tarfile}</echo>
-
-    <!-- write a message to say which file we built last -->
-    <echo>Your PEAR package is in ${project.tarfile}</echo>
-    <phingcallifexists target="local.pear-package"/>
-  </target>
-
-  <!-- Install the code -->
-  <target name="install-vendor">
-    <if>
-      <not>
-        <contains string="${project.lastBuiltTarfile}" substring="${project.name}"/>
-      </not>
-      <then>
-        <echo>Please run 'phing pear-package' first, then try again.</echo>
-      </then>
-      <elseif>
-        <available file="${project.lastBuiltTarfile}"/>
-        <then>
-          <exec command="pear -c ${project.tmpdir}/pear-config install --alldeps -f ${project.lastBuiltTarfile}" logoutput="true" checkreturn="true"/>
-          <phingcallifexists target="local.install-vendor"/>
-        </then>
-      </elseif>
-      <else>
-        <echo>Cannot find PEAR package file ${project.lastBuiltTarfile}</echo>
-        <echo>Run 'phing pear-package' to create a new PEAR package, then try again</echo>
-      </else>
-    </if>
-  </target>
-
-  <!-- install a package system-wide -->
-  <target name="install-system">
-    <if>
-      <not>
-        <contains string="${project.lastBuiltTarfile}" substring="${project.name}"/>
-      </not>
-      <then>
-        <echo>Please run 'phing pear-package' first, then try again.</echo>
-      </then>
-      <elseif>
-        <available file="${project.lastBuiltTarfile}"/>
-        <then>
-          <exec command="pear install -f -a ${project.lastBuiltTarfile}" checkreturn="true" logoutput="true" />
-          <phingcallifexists target="local.install-system"/>
-        </then>
-      </elseif>
-      <else>
-        <echo>Cannot find PEAR package file ${project.lastBuiltTarfile}</echo>
-        <echo>Run 'phing pear-package' to create a new PEAR package, then try again</echo>
-      </else>
-    </if>
-  </target>
-
-  <!-- Publish to local copy of PEAR channel -->
-  <target name="publish-local" depends="pear-package">
-    <if>
-      <not>
-        <contains string="${project.lastBuiltTarfile}" substring="${project.name}"/>
-      </not>
-      <then>
-        <echo>Please run 'phing pear-package' first, then try again.</echo>
-      </then>
-      <elseif>
-        <available file="${project.lastBuiltTarfile}"/>
-        <then>
-          <!-- get rid of any existing snapshots we may have published -->
-          <foreach param="packagefile" absparam="abspackagefile" target="pirum-remove-package">
-            <fileset dir="${pear.local}/get">
-              <include name="${project.name}*snapshot*.tgz" />
-            </fileset>
-          </foreach>
-
-          <!-- publish the new PEAR package -->
-          <exec command="pirum add ${pear.local} ${project.lastBuiltTarfile}" checkreturn="true" logoutput="true" />
-          <phingcallifexists target="local.publish-local"/>
-        </then>
-      </elseif>
-      <else>
-        <echo>Cannot find PEAR package file ${project.lastBuiltTarfile}</echo>
-        <echo>Run 'phing pear-package' to create a new PEAR package, then try again</echo>
-      </else>
-    </if>
-  </target>
-
-  <target name="pirum-remove-package">
-    <exec command="pirum remove ${pear.local} ${packagefile}" logoutput="true" checkreturn="true" />
-  </target>
-
-  <!-- Run additional PEAR commands in the vendor folder -->
-  <target name="vendor-pear">
-    <exec command="pear -c ${project.tmpdir}/pear-config ${pear.cmd}" logoutput="true" checkreturn="true" />
-  </target>
-
-  <!-- Upgrade the skeleton files here and now -->
-  <target name="upgrade-skeleton">
-    <exec command="phix ${component.type}:upgrade ." logoutput="true" checkreturn="true" />
-    <phingcallifexists target="local.upgrade-skeleton"/>
-  </target>
-
-  <!-- Clean up the mess -->
-  <target name="clean">
-    <delete dir="${project.builddir}" />
-    <delete dir="${project.distdir}" />
-    <delete dir="${project.reviewdir}" />
-    <delete dir="${project.pkgdir}" />
-    <delete dir="${project.distdir}" />
-    <delete dir="${project.tmpdir}" />
-    <phingcallifexists target="local.clean"/>
-  </target>
-</project>
-<!-- vim: set tabstop=2 shiftwidth=2 expandtab: -->
diff --git a/package.xml b/package.xml
deleted file mode 100644 (file)
index 852e8c4..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<package packagerversion="1.9.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
-    http://pear.php.net/dtd/tasks-1.0.xsd
-    http://pear.php.net/dtd/package-2.0
-    http://pear.php.net/dtd/package-2.0.xsd">
-  <name>${project.name}</name>
-  <channel>${project.channel}</channel>
-  <summary>WordPress CLI interface</summary>
-  <description>
-    A tool for controlling WordPress through the command line.
-  </description>
-  <lead>
-    <name>Andreas Creten</name>
-    <user>andreascreten</user>
-    <email></email>
-    <active>yes</active>
-  </lead>
-  <lead>
-    <name>scribu</name>
-    <user>scribu</user>
-    <email>mail@scribu.net</email>
-    <active>yes</active>
-  </lead>
-  <date>${build.date}</date>
-  <time>${build.time}</time>
-  <version>
-    <release>${project.version}</release>
-    <api>${project.majorVersion}.${project.minorVersion}</api>
-  </version>
-  <stability>
-    <release>${project.stability}</release>
-    <api>stable</api>
-  </stability>
-  <license>MIT</license>
-  <notes>
-    No notes.
-  </notes>
-  <contents>
-    <dir baseinstalldir="/" name="/">
-${contents}
-    </dir>
-  </contents>
-  <dependencies>
-    <required>
-      <php>
-        <min>5.3.0</min>
-      </php>
-      <pearinstaller>
-        <min>1.9.4</min>
-      </pearinstaller>
-    </required>
-  </dependencies>
-  <phprelease />
-  <changelog>
-    <release>
-      <version>
-        <release>X.Y.Z</release>
-        <api>X.Y</api>
-      </version>
-      <stability>
-        <release>stable</release>
-        <api>stable</api>
-      </stability>
-      <date>Your release date</date>
-      <license>All rights reserved</license>
-      <notes>
-      </notes>
-    </release>
-  </changelog>
-</package>
-<!-- vim: set tabstop=2 shiftwidth=2 expandtab: -->
diff --git a/utils/pear-build b/utils/pear-build
deleted file mode 100755 (executable)
index f2be1b3..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-set -ex
-
-# create bunch of directories that phing complains about
-mkdir -p docs data www tests/unit-tests/php 
-
-# generate package
-phing pear-package
-
-version=$(cat dist/lastBuilt)
-version="${version/*wpcli-/}"
-version="${version/.tgz/}"
-
-#sudo phing install-system
-
-# update channel files
-pear_repo=../wp-cli-pear
-
-pirum add $pear_repo ../wp-cli/dist/wpcli-$version.tgz
-pirum build $pear_repo
-
-# push changes
-cd $pear_repo
-
-git add -A
-git ci -m "release $version"
-git push origin gh-pages