build.xml 697 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project name="global-state" 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. <arg value="update"/>
  11. <arg value="--no-interaction"/>
  12. <arg value="--no-progress"/>
  13. <arg value="--no-ansi"/>
  14. <arg value="--no-suggest"/>
  15. </exec>
  16. </target>
  17. </project>