build.xml 692B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project name="recursion-context" 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. <arg value="--optimize-autoloader"/>
  16. <arg value="--prefer-stable"/>
  17. </exec>
  18. </target>
  19. </project>