forked from bkon/gliffy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
42 lines (37 loc) · 888 Bytes
/
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
<project name="Gliffy gem" default="build" basedir=".">
<description>
Builds Gliffy Ruby gem
</description>
<target name="clean">
<delete dir="reports"/>
<delete dir="tmp"/>
<delete>
<fileset dir="." includes="*.gem"></fileset>
</delete>
</target>
<target name="tests">
<exec executable="rake"
failonerror="true">
<arg line="ci:setup:rspec"/>
<arg line="spec"/>
</exec>
</target>
<target name="gem">
<exec executable="gem"
failonerror="true">
<arg line="build"/>
<arg line="gliffy.gemspec"/>
</exec>
</target>
<target name="push">
<apply executable="gem"
failonerror="true">
<arg line="push"/>
<fileset dir=".">
<include name="*.gem"/>
</fileset>
</apply>
</target>
<target name="build"
depends="tests, gem"/>
</project>