This repository has been archived by the owner on Jul 29, 2023. It is now read-only.
forked from citizen428/ClojureX
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
50 lines (42 loc) · 1.53 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
<?xml version="1.0"?>
<project name="ClojureX" default="all" basedir=".">
<target name="clojure">
<ant dir="clojure" inheritall="false" target="clojure"/>
</target>
<target name="clojure-contrib" depends="clojure">
<ant dir="clojure-contrib" inheritall="false" target="jar">
<property name="clojure.jar" value="../clojure/clojure.jar"/>
</ant>
</target>
<target name="jline">
<mkdir dir="jline/classes"/>
<javac
srcdir="jline/src/main/java"
destdir="jline/classes">
<compilerarg value="-Xlint"/>
</javac>
<jar jarfile="jline/jline.jar" basedir="jline/classes">
<fileset dir="jline">
<include name="LICENSE.txt"/>
<include name="pom.xml"/>
</fileset>
<fileset dir="jline/src/main/resources">
<include name="**/*.properties"/>
</fileset>
</jar>
</target>
<target name="tmbundle" depends="clojure, clojure-contrib, jline">
<copy todir="Clojure.tmbundle/Vendor" overwrite="true">
<fileset dir="clojure" includes="clojure.jar"/>
<fileset dir="clojure-contrib" includes="clojure-contrib.jar"/>
<fileset dir="jline" includes="jline.jar"/>
</copy>
</target>
<target name="all" depends="clojure, clojure-contrib, jline, tmbundle"/>
<target name="clean">
<ant dir="clojure" inheritall="false" target="clean"/>
<ant dir="clojure-contrib" inheritall="false" target="clean"/>
<delete dir="jline/classes"/>
<delete file="jline/jline.jar"/>
</target>
</project>