mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-15 21:41:06 +00:00
3b815d2de5
Improve test, so user can login Fix some leftJoin Cleanup EntryController
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<?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"/>
|
|
<arg value="--no-progress"/>
|
|
<arg value="--working-dir=.."/>
|
|
</exec>
|
|
<exec executable="php">
|
|
<arg value="${basedir}/../app/console"/>
|
|
<arg value="doctrine:database:drop"/>
|
|
<arg value="--force"/>
|
|
<arg value="--env=test"/>
|
|
</exec>
|
|
<exec executable="php">
|
|
<arg value="${basedir}/../app/console"/>
|
|
<arg value="doctrine:database:create"/>
|
|
<arg value="--env=test"/>
|
|
</exec>
|
|
<exec executable="php">
|
|
<arg value="${basedir}/../app/console"/>
|
|
<arg value="doctrine:schema:create"/>
|
|
<arg value="--env=test"/>
|
|
</exec>
|
|
<exec executable="php">
|
|
<arg value="${basedir}/../app/console"/>
|
|
<arg value="cache:clear"/>
|
|
<arg value="--env=test"/>
|
|
</exec>
|
|
<exec executable="php">
|
|
<arg value="${basedir}/../app/console"/>
|
|
<arg value="doctrine:fixtures:load"/>
|
|
<arg value="--no-interaction"/>
|
|
<arg value="--purge-with-truncate"/>
|
|
<arg value="--env=test"/>
|
|
</exec>
|
|
</target>
|
|
</project>
|