Created
December 13, 2012 09:45
-
-
Save anonymous/4275347 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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