Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 1.03 KB
<project name="ring" default="jar">
<description>Pack all sources into a JAR.</description>
<property name="jarfile" location="ring.jar"/>
<property name="depsfile" location=""/>
<property name="depsurl" value=""/>
<property name="depsdir" location="deps/"/>
<target name="clean" description="Remove generated files and directories.">
<delete file="${jarfile}"/>
<delete file="${depsfile}"/>
<delete dir="${depsdir}"/>
<target name="jar" description="Create jar file.">
<jar jarfile="${jarfile}">
<path location="LICENSE"/>
<fileset dir="./src" includes="ring/**/*.clj"/>
<fileset dir="./test" includes="ring/**/*.clj"/>
<target name="deps" description="Download and unpack dependencies.">
<get usetimestamp="true" description="Ring dependencies."
src="${depsurl}" dest="${depsfile}"/>
<unzip src="${depsfile}" dest="."/>
<delete file="${depsfile}"/>
Jump to Line
Something went wrong with that request. Please try again.