-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
26 lines (22 loc) · 780 Bytes
/
build.xml
File metadata and controls
26 lines (22 loc) · 780 Bytes
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
<project name="PHPlug" basedir="." default="deploy">
<property file="build.properties"/>
<target name="deploy-demo">
<echo message="Deploying PHPlug demo..." />
<copy todir="/var/www/phplug/demo/PHPlug">
<fileset dir="${basedir}" />
</copy>
</target>
<target name="deploy">
<echo message="Deploying PHPlug..." />
<delete dir="${org.phplug.deploy.dir}/PHPlug"/>
<copy todir="${org.phplug.deploy.dir}">
<fileset dir="${basedir}" />
</copy>
</target>
<target name="release">
<echo message="Creating artifact" />
<mkdir dir="${org.phplug.release.dir}"/>
<delete file="${org.phplug.release.target.file}" />
<zip destfile="${org.phplug.release.target.file}" basedir=".." includes="PHPlug/*/**" excludes="PHPlug/build.*" />
</target>
</project>