-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
29 lines (21 loc) · 952 Bytes
/
build.xml
File metadata and controls
29 lines (21 loc) · 952 Bytes
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="RpmLab" basedir="." default="run">
<xmlproperty file="config.xml" keepRoot="false" collapseattributes="true" semanticattributes="true"/>
<import file="build.vagrant.xml"/>
<target name="run" depends="vagrant:up" description="build rpms">
<!-- build the example jruby rpm -->
<vagrant.rake>rpm:jruby</vagrant.rake>
</target>
<target name="clean" description="cleans rpm temp files inside the vm">
<vagrant.rake>clean</vagrant.rake>
</target>
<target name="eradicate!" depends="clean" description="cleans rpms merciless">
<delete file="rpmbuild/log/cantiere.log"/>
<delete>
<fileset dir="rpmbuild/SRPMS/" includes="**"/>
</delete>
<delete includeemptydirs="false">
<fileset dir="rpmbuild/RPMS" includes="**/*"/>
</delete>
</target>
</project>