build.xml 766 B

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