annotate vendor/sebastian/diff/build.xml @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 7a779792577d
rev   line source
Chris@0 1 <?xml version="1.0" encoding="UTF-8"?>
Chris@0 2 <project name="diff">
Chris@0 3 <target name="clean" description="Cleanup build artifacts">
Chris@0 4 <delete dir="${basedir}/vendor"/>
Chris@0 5 <delete file="${basedir}/composer.lock"/>
Chris@0 6 </target>
Chris@0 7
Chris@0 8 <target name="composer" depends="clean" description="Install dependencies with Composer">
Chris@0 9 <tstamp>
Chris@0 10 <format property="thirty.days.ago" pattern="MM/dd/yyyy hh:mm aa" offset="-30" unit="day"/>
Chris@0 11 </tstamp>
Chris@0 12 <delete>
Chris@0 13 <fileset dir="${basedir}">
Chris@0 14 <include name="composer.phar" />
Chris@0 15 <date datetime="${thirty.days.ago}" when="before"/>
Chris@0 16 </fileset>
Chris@0 17 </delete>
Chris@0 18
Chris@0 19 <get src="https://getcomposer.org/composer.phar" dest="${basedir}/composer.phar" skipexisting="true"/>
Chris@0 20
Chris@0 21 <exec executable="php">
Chris@0 22 <arg value="composer.phar"/>
Chris@0 23 <arg value="install"/>
Chris@0 24 </exec>
Chris@0 25 </target>
Chris@0 26 </project>