-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
32 lines (25 loc) · 887 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
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<project name="Geeklog-PEAR" default="ship">
<target name="update">
<echo msg="Updating local repository ..." />
<exec command="hg pull -u" />
</target>
<target name="clean">
<echo msg="Cleaning up ..." />
<delete file="geeklog-ship.tar.gz" quiet="true"/>
</target>
<target name="ship" depends="update">
<tar destfile="geeklog-pear.tar.gz" compression="gzip">
<fileset dir=".">
<include name="*" />
<exclude name="build.xml" />
<exclude name=".*" />
<exclude name="geeklog-pear.tar.gz" />
</fileset>
</tar>
</target>
<target name="deploy">
<copy file="geeklog-pear.tar.gz"
todir="/usr/home/geeklog2/public_html/www/nightly" />
</target>
</project>