Aucune description

build.xml 853B

1234567891011121314151617181920212223
  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. <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. <arg value="--optimize-autoloader"/>
  17. <arg value="--prefer-stable"/>
  18. </exec>
  19. </target>
  20. </project>