1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="resource-operations" default="build">
3 <target name="build" depends="generate" />
5 <target name="generate" depends="download-arginfo">
6 <exec executable="${basedir}/build/generate.php" taskname="generate" />
9 <target name="download-arginfo">
11 <format property="thirty.days.ago" pattern="MM/dd/yyyy hh:mm aa" offset="-30" unit="day"/>
15 <fileset dir="${basedir}/build">
16 <include name="arginfo.php" />
17 <date datetime="${thirty.days.ago}" when="before"/>
21 <get src="https://raw.githubusercontent.com/rlerdorf/phan/master/includes/arginfo.php" dest="${basedir}/build/arginfo.php" skipexisting="true"/>