Permalink
Newer
Older
100644 30 lines (25 sloc) 1.03 KB
68e08fb @mmcgrana Initial import from http://github.com/mmcgrana/clj-garden
authored Jan 12, 2009
1 <project name="ring" default="jar">
2 <description>Pack all sources into a JAR.</description>
3
203cbbd @mmcgrana Remove dependency jars from version control: add deps ant task to dow…
authored Apr 29, 2009
4 <property name="jarfile" location="ring.jar"/>
46366c4 @mmcgrana Prepare for 0.1.
authored Sep 6, 2009
5 <property name="depsfile" location="deps.zip"/>
6 <property name="depsurl" value="http://cloud.github.com/downloads/mmcgrana/ring/deps.zip"/>
203cbbd @mmcgrana Remove dependency jars from version control: add deps ant task to dow…
authored Apr 29, 2009
7 <property name="depsdir" location="deps/"/>
68e08fb @mmcgrana Initial import from http://github.com/mmcgrana/clj-garden
authored Jan 12, 2009
8
9 <target name="clean" description="Remove generated files and directories.">
10 <delete file="${jarfile}"/>
203cbbd @mmcgrana Remove dependency jars from version control: add deps ant task to dow…
authored Apr 29, 2009
11 <delete file="${depsfile}"/>
12 <delete dir="${depsdir}"/>
68e08fb @mmcgrana Initial import from http://github.com/mmcgrana/clj-garden
authored Jan 12, 2009
13 </target>
14
15 <target name="jar" description="Create jar file.">
16 <jar jarfile="${jarfile}">
17 <path location="LICENSE"/>
18 <fileset dir="./src" includes="ring/**/*.clj"/>
19 <fileset dir="./test" includes="ring/**/*.clj"/>
20 </jar>
21 </target>
203cbbd @mmcgrana Remove dependency jars from version control: add deps ant task to dow…
authored Apr 29, 2009
22
23 <target name="deps" description="Download and unpack dependencies.">
24 <get usetimestamp="true" description="Ring dependencies."
25 src="${depsurl}" dest="${depsfile}"/>
26 <unzip src="${depsfile}" dest="."/>
5497a81 @mmcgrana Point build.xml to 0-1 deps zip.
authored Jul 12, 2009
27 <delete file="${depsfile}"/>
203cbbd @mmcgrana Remove dependency jars from version control: add deps ant task to dow…
authored Apr 29, 2009
28 </target>
68e08fb @mmcgrana Initial import from http://github.com/mmcgrana/clj-garden
authored Jan 12, 2009
29 </project>