diff options
author | Phie <phie@phie.ovh> | 2018-08-21 18:39:12 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2018-08-21 18:39:12 +0300 |
commit | 7d24cc0120859fc4e46b301c08effc97ddfbb1bb (patch) | |
tree | 94b5b52074022ceccd4c91073f217feaec38ca40 /vendor/sebastian/recursion-context/build.xml |
first commit for Carnet NC server
Diffstat (limited to 'vendor/sebastian/recursion-context/build.xml')
-rw-r--r-- | vendor/sebastian/recursion-context/build.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/sebastian/recursion-context/build.xml b/vendor/sebastian/recursion-context/build.xml new file mode 100644 index 0000000..b4fd193 --- /dev/null +++ b/vendor/sebastian/recursion-context/build.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="recursion-context"> + <target name="clean" description="Cleanup build artifacts"> + <delete dir="${basedir}/vendor"/> + <delete file="${basedir}/composer.lock"/> + </target> + + <target name="composer" depends="clean" description="Install dependencies with Composer"> + <tstamp> + <format property="thirty.days.ago" pattern="MM/dd/yyyy hh:mm aa" offset="-30" unit="day"/> + </tstamp> + <delete> + <fileset dir="${basedir}"> + <include name="composer.phar" /> + <date datetime="${thirty.days.ago}" when="before"/> + </fileset> + </delete> + + <get src="https://getcomposer.org/composer.phar" dest="${basedir}/composer.phar" skipexisting="true"/> + + <exec executable="php"> + <arg value="composer.phar"/> + <arg value="install"/> + </exec> + </target> +</project> + |