annotate vendor/sebastian/recursion-context/build.xml @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children 5311817fb629
rev   line source
Chris@0 1 <?xml version="1.0" encoding="UTF-8"?>
Chris@0 2 <project name="recursion-context">
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>
Chris@0 27