aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/build.xml
blob: 16ef73ed4de5b2e8cb5a05f8b1c43e8e57060cbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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="--dev"/>
            <arg value="--no-interaction"/>
            <arg value="--working-dir=.."/>
        </exec>
        <exec executable="php">
            <arg value="${basedir}/../app/console"/>
            <arg value="cache:clear"/>
            <arg value="--env=test"/>
        </exec>
    </target>
</project>