1<?xml version="1.0" encoding="UTF-8"?>
2<project name="object-enumerator" default="setup">
3    <target name="setup" depends="clean,composer"/>
4
5    <target name="clean" description="Cleanup build artifacts">
6        <delete dir="${basedir}/vendor"/>
7        <delete file="${basedir}/composer.lock"/>
8    </target>
9
10    <target name="composer" depends="clean" description="Install dependencies with Composer">
11        <exec executable="composer" taskname="composer">
12            <env key="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/>
13            <arg value="update"/>
14            <arg value="--no-interaction"/>
15            <arg value="--no-progress"/>
16            <arg value="--no-ansi"/>
17            <arg value="--no-suggest"/>
18            <arg value="--optimize-autoloader"/>
19            <arg value="--prefer-stable"/>
20        </exec>
21    </target>
22</project>
23
24