Skip to content

Instantly share code, notes, and snippets.

Created December 13, 2012 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4275347 to your computer and use it in GitHub Desktop.
Save anonymous/4275347 to your computer and use it in GitHub Desktop.
# Property files contain key/value pairs
key=value
# Property keys may contain alphanumeric chars and colons, but
# not special chars. This way you can create pseudo-namespaces
umil.repository=git://github.com/phpbb/umil.git
umil.version=v1.0.5
umil.directory=${temp.dir}/umil
<?xml version="1.0" encoding="UTF-8" ?>
<project name="phpbb3-nv-who-was-here" basedir="." default="umil">
<property name="temp.dir" value="temp" />
<property name="build.dir" value="build" />
<property file="build.properties" />
<target name="clean" description="Remove build directories">
<echo msg="Remove build directories" />
<delete dir="${build.dir}" />
<delete dir="${temp.dir}/umil" includeemptydirs="true" verbose="true" />
</target>
<target name="prepare" depends="clean" description="Prepare packaging">
<echo msg="Creating directories" />
<mkdir dir="${build.dir}" />
<mkdir dir="${temp.dir}" />
</target>
<target name="umil" depends="clean,prepare" description="Download phpBB/UMIL">
<echo msg="Download phpBB/UMIL" />
<gitclone gitPath="git" repository="${umil.repository}" targetPath="${umil.directory}" />
<gitcheckout gitPath="git" repository="${umil.directory}" branchname="${umil.version}" quiet="true" create="true" />
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment