-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
43 lines (38 loc) · 1.46 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="COPS" default="dist">
<target name="clean" >
<delete>
<fileset dir=".">
<include name="cops.zip" />
</fileset>
</delete>
</target>
<!-- ============================================ -->
<!-- (DEFAULT) Target: dist -->
<!-- ============================================ -->
<target name="dist" depends="clean">
<echo msg="Creating archive..." />
<zip destfile="cops.zip">
<fileset dir=".">
<include name="**" />
<exclude name="test/**" />
<exclude name=".hg*/**" />
<exclude name=".git/**" />
<exclude name="tools/**" />
<exclude name="coverage/**" />
<exclude name="saucetest/**" />
<exclude name="resources/epub-loader/**" />
<exclude name="*.phar" />
<exclude name="*.zip" />
<exclude name="*.zip" />
<exclude name="*.xml" />
<exclude name=".travis.yml" />
<exclude name=".coveralls.yml" />
<exclude name="config_local.php" />
<exclude name="composer.json" />
<exclude name="cops.sublime*" />
</fileset>
</zip>
<echo msg="Files copied and compressed in build directory OK!" />
</target>
</project>