-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.xml
31 lines (26 loc) · 932 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project name="jruby-prof" default="dist" basedir=".">
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property environment="env" />
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="compile the source " >
<javac srcdir="${src}" destdir="${build}">
<classpath location="${env.JRUBY_HOME}/lib/jruby.jar"/>
</javac>
</target>
<target name="dist" depends="compile" description="generate the distribution" >
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/jruby-prof.jar" basedir="${build}"/>
</target>
<target name="clean"
description="clean up" >
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>