forked from Arbitracker/PHPillow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
25 lines (21 loc) · 940 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<project name="PHPillow" default="verify" basedir="./">
<property file="${basedir}/build.properties" />
<import file="setup/src/main/xml/base.xml" />
<!--
Custom deployment target
Uploads the pear package and calls pirum to register it in the PEAR
channel.
-->
<target name="-deploy:deploy" if="release">
<property name="pear.deploy.package.name" value="/PHPillow-${project.version}.tgz" />
<exec executable="scp">
<arg value="${commons:distdir}/${pear.deploy.package.name}"/>
<arg value="${pear.deploy.user}@${pear.deploy.host}:${pear.deploy.path}"/>
</exec>
<exec executable="ssh">
<arg value="${pear.deploy.user}@${pear.deploy.host}"/>
<arg value="pirum add ${pear.deploy.path} ${pear.deploy.path}/${pear.deploy.package.name}"/>
</exec>
</target>
</project>