-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
37 lines (31 loc) · 1.2 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
<project name="continuousphp-phing-tasks" default="help" basedir=".">
<property file="./build.properties" />
<import file="${project.basedir}/tasks.xml" />
<target name="help" description="List available targets">
<exec executable="${phing.bin}"
passthru="true">
<arg value="-l"/>
</exec>
</target>
<target name="config" description="Config continuousphp tasks">
<continuousphp-config
token="${token}" />
</target>
<target name="package" description="Ouput the package url">
<continuousphp-package
provider="${provider}"
repository="${repository}"
reference="${reference}"
property="package.url" />
<echo message="---PACKAGE_URL:${package.url}---" />
</target>
<target name="package-with-state" description="Ouput the package url">
<continuousphp-package
provider="${provider}"
repository="${repository}"
reference="${reference}"
state="${state}"
property="package.url" />
<echo message="---PACKAGE_URL:${package.url}---" />
</target>
</project>