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="deps.zip"/>
<property name="depsurl" value="http://cloud.github.com/downloads/mmcgrana/ring/deps.zip"/>
<property name="depsdir" location="deps/"/>
<target name="clean" description="Remove generated files and directories.">
<delete file="${jarfile}"/>
<delete file="${depsfile}"/>
<delete dir="${depsdir}"/>
</target>
<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"/>
</jar>
</target>
<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}"/>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.