-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
36 lines (32 loc) · 1.23 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<project name="symplate" default="phpunit" basedir=".">
<property environment="env"/>
<target name="prepare" depends="vendors" description="Prepares tests">
</target>
<target name="vendors" description="Install dependencies">
<exec executable="wget" failonerror="true">
<arg value="-nc" />
<arg value="http://getcomposer.org/composer.phar" />
</exec>
<exec executable="php" failonerror="true">
<arg value="composer.phar" />
<arg value="install" />
</exec>
<exec executable="php" failonerror="true">
<arg value="app/console" />
<arg value="assetic:dump" />
</exec>
<exec executable="php" failonerror="true">
<arg value="app/console" />
<arg value="fos:js-routing:dump" />
</exec>
<exec executable="php" failonerror="false">
<arg value="app/console" />
<arg value="doctrine:schema:create" />
</exec>
<exec executable="php" failonerror="false">
<arg value="app/console" />
<arg value="doctrine:migrations:migrate --no-interaction" />
</exec>
</target>
</project>