forked from pycontribs/jenkinsapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
63 lines (51 loc) · 1.33 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
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<project name="jenkinsapi" default="all">
<property file="build.properties" />
<target name="release" depends="clean, compile, test, sdist, bdist, doc" />
<target name="all" depends="clean, compile" />
<target name="clean">
<delete failonerror="false">
<fileset dir="build" />
</delete>
<delete failonerror="false">
<fileset dir="dist" />
</delete>
<delete failonerror="false">
<fileset dir="doc/build" />
</delete>
</target>
<target name="compile" depends="install,test,sdist,doc" />
<target name="install">
<exec executable="python">
<arg value="setup.py" />
<arg value="develop" />
</exec>
</target>
<target name="test">
<exec executable="python">
<arg value="setup.py" />
<arg value="nosetests" />
</exec>
</target>
<target name="sdist" depends="test">
<exec executable="python">
<arg value="setup.py" />
<arg value="sdist" />
<arg value="upload" />
</exec>
</target>
<target name="bdist" depends="test">
<exec executable="python">
<arg value="setup.py" />
<arg value="bdist_wheel" />
<arg value="upload" />
</exec>
</target>
<target name="doc" depends="">
<exec executable="python">
<arg value="setup.py" />
<arg value="build_sphinx" />
<arg value="upload_sphinx" />
</exec>
</target>
</project>