forked from PHPSP/phpsp-blog-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
60 lines (51 loc) · 2.45 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<project name="phpsp"
default="main"
basedir="."
description="phpsp blog theme">
<property name="message" value="Hello phpsp!"/>
<property name="plugindir" value="../../plugins/"/>
<target name="main">
<echo msg="${message}"/>
<exec
escape="false"
passthru="true"
checkreturn="true"
command="curl http://downloads.wordpress.org/plugin/wp-no-category-base.zip -o '${plugindir}wp-no-category-base.zip'" />
<unzip file="${plugindir}wp-no-category-base.zip" todir="${plugindir}" />
<exec
escape="false"
passthru="true"
checkreturn="true"
command="curl http://downloads.wordpress.org/plugin/disqus-comment-system.2.77.zip -o '${plugindir}disqus-comment-system.2.77.zip'" />
<unzip file="${plugindir}disqus-comment-system.2.77.zip" todir="${plugindir}" />
<exec
escape="false"
passthru="true"
checkreturn="true"
command="curl http://downloads.wordpress.org/plugin/crayon-syntax-highlighter.zip -o '${plugindir}crayon-syntax-highlighter.zip'" />
<unzip file="${plugindir}crayon-syntax-highlighter.zip" todir="${plugindir}" />
<exec
escape="false"
passthru="true"
checkreturn="true"
command="curl http://downloads.wordpress.org/plugin/event-organiser.latest-stable.zip -o '${plugindir}event-organiser.latest-stable.zip'" />
<unzip file="${plugindir}event-organiser.latest-stable.zip" todir="${plugindir}" />
<exec
escape="false"
passthru="true"
checkreturn="true"
command="curl https://downloads.wordpress.org/plugin/oa-social-login.4.6.zip -o '${plugindir}oa-social-login.4.6.zip'" />
<unzip file="${plugindir}oa-social-login.4.6.zip" todir="${plugindir}"></unzip>
<fileset dir="${plugindir}" id="deleteFiles">
<include name="wp-no-category-base.zip" />
<include name="disqus-comment-system.2.77.zip" />
<include name="crayon-syntax-highlighter.zip" />
<include name="event-organiser.latest-stable.zip" />
<include name="oa-social-login.4.6.zip" />
</fileset>
<delete>
<fileset refid="deleteFiles" />
</delete>
</target>
</project>