2015-01-31 08:15:51 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project name="wallabag" default="build">
|
|
|
|
<target name="build" depends="prepare"/>
|
|
|
|
|
|
|
|
<target name="clean" description="Cleanup build artifacts">
|
|
|
|
<delete dir="${basedir}/app/cache"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="prepare" depends="clean" description="Prepare for build">
|
|
|
|
<exec executable="composer">
|
|
|
|
<arg value="install"/>
|
|
|
|
<arg value="--no-interaction"/>
|
2015-02-06 14:38:05 +00:00
|
|
|
<arg value="--no-progress"/>
|
2015-01-31 08:15:51 +00:00
|
|
|
</exec>
|
2015-02-02 06:48:13 +00:00
|
|
|
<exec executable="php">
|
2015-03-03 18:20:08 +00:00
|
|
|
<arg value="${basedir}/app/console"/>
|
2015-02-02 06:48:13 +00:00
|
|
|
<arg value="doctrine:database:drop"/>
|
|
|
|
<arg value="--force"/>
|
|
|
|
<arg value="--env=test"/>
|
|
|
|
</exec>
|
|
|
|
<exec executable="php">
|
2015-03-03 18:20:08 +00:00
|
|
|
<arg value="${basedir}/app/console"/>
|
2015-02-02 06:48:13 +00:00
|
|
|
<arg value="doctrine:database:create"/>
|
|
|
|
<arg value="--env=test"/>
|
|
|
|
</exec>
|
2015-02-07 17:30:46 +00:00
|
|
|
<exec executable="php">
|
2015-03-03 18:20:08 +00:00
|
|
|
<arg value="${basedir}/app/console"/>
|
2015-02-07 17:30:46 +00:00
|
|
|
<arg value="doctrine:schema:create"/>
|
|
|
|
<arg value="--env=test"/>
|
|
|
|
</exec>
|
2015-01-31 08:15:51 +00:00
|
|
|
<exec executable="php">
|
2015-03-03 18:20:08 +00:00
|
|
|
<arg value="${basedir}/app/console"/>
|
2015-01-31 08:15:51 +00:00
|
|
|
<arg value="cache:clear"/>
|
|
|
|
<arg value="--env=test"/>
|
|
|
|
</exec>
|
2015-02-08 22:05:51 +00:00
|
|
|
<exec executable="php">
|
2015-03-03 18:20:08 +00:00
|
|
|
<arg value="${basedir}/app/console"/>
|
2015-02-08 22:05:51 +00:00
|
|
|
<arg value="doctrine:fixtures:load"/>
|
|
|
|
<arg value="--no-interaction"/>
|
|
|
|
<arg value="--env=test"/>
|
|
|
|
</exec>
|
2015-01-31 08:15:51 +00:00
|
|
|
</target>
|
|
|
|
</project>
|