]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - build.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <project name=
"wallabag" default=
"build">
3 <target name=
"build" depends=
"prepare"/>
5 <target name=
"clean" description=
"Cleanup build artifacts">
6 <delete dir=
"${basedir}/app/cache"/>
9 <target name=
"prepare" depends=
"clean" description=
"Prepare for build">
10 <exec executable=
"composer">
11 <arg value=
"install"/>
12 <arg value=
"--no-interaction"/>
13 <arg value=
"--no-progress"/>
15 <exec executable=
"php">
16 <arg value=
"${basedir}/app/console"/>
17 <arg value=
"doctrine:database:drop"/>
18 <arg value=
"--force"/>
19 <arg value=
"--env=test"/>
21 <exec executable=
"php">
22 <arg value=
"${basedir}/app/console"/>
23 <arg value=
"doctrine:database:create"/>
24 <arg value=
"--env=test"/>
26 <exec executable=
"php">
27 <arg value=
"${basedir}/app/console"/>
28 <arg value=
"doctrine:schema:create"/>
29 <arg value=
"--env=test"/>
31 <exec executable=
"php">
32 <arg value=
"${basedir}/app/console"/>
33 <arg value=
"cache:clear"/>
34 <arg value=
"--env=test"/>
36 <exec executable=
"php">
37 <arg value=
"${basedir}/app/console"/>
38 <arg value=
"doctrine:fixtures:load"/>
39 <arg value=
"--no-interaction"/>
40 <arg value=
"--env=test"/>
44 <target name=
"phpunit" description=
"Run unit tests with PHPUnit + HTML Coverage">
45 <exec executable=
"phpunit" failonerror=
"true">
46 <arg value=
"--coverage-html"/>
47 <arg value=
"build/coverage"/>