-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.xml
37 lines (37 loc) · 1.02 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="burp-image-size" default="plugin">
<target name="plugin" depends="classes">
<zip destfile="burp-image-size.jar">
<fileset dir="build">
<include name="burp/BurpExtender.class"/>
<include name="burp/ImageSizeIssue.class"/>
<include name="burp/ImageTragickIssue.class"/>
<include name="burp/SimpleImageSizeReader.class"/>
</fileset>
</zip>
</target>
<target name="test" depends="classes">
<java classname="org.junit.runner.JUnitCore" classpath="build">
<arg value="burp.ImageSizeTest"/>
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</java>
</target>
<target name="classes">
<mkdir dir="build"/>
<javac srcdir="src:api" destdir="build" includeantruntime="false">
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="clean">
<delete dir="build"/>
<delete file="burp-image-size.jar"/>
</target>
</project>