diff options
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -6,7 +6,7 @@ | |||
6 | <target name="prepare-pgsql" depends="clean,composer,db_pgsql,prepare"/> | 6 | <target name="prepare-pgsql" depends="clean,composer,db_pgsql,prepare"/> |
7 | 7 | ||
8 | <target name="clean" description="Cleanup build artifacts"> | 8 | <target name="clean" description="Cleanup build artifacts"> |
9 | <delete dir="${basedir}/app/cache"/> | 9 | <delete dir="${basedir}/var/cache"/> |
10 | </target> | 10 | </target> |
11 | 11 | ||
12 | <target name="composer" description="Install deps using Composer"> | 12 | <target name="composer" description="Install deps using Composer"> |
@@ -19,28 +19,28 @@ | |||
19 | 19 | ||
20 | <target name="prepare" description="Prepare for build"> | 20 | <target name="prepare" description="Prepare for build"> |
21 | <exec executable="php"> | 21 | <exec executable="php"> |
22 | <arg value="${basedir}/app/console"/> | 22 | <arg value="${basedir}/bin/console"/> |
23 | <arg value="doctrine:database:drop"/> | 23 | <arg value="doctrine:database:drop"/> |
24 | <arg value="--force"/> | 24 | <arg value="--force"/> |
25 | <arg value="--env=test"/> | 25 | <arg value="--env=test"/> |
26 | </exec> | 26 | </exec> |
27 | <exec executable="php"> | 27 | <exec executable="php"> |
28 | <arg value="${basedir}/app/console"/> | 28 | <arg value="${basedir}/bin/console"/> |
29 | <arg value="doctrine:database:create"/> | 29 | <arg value="doctrine:database:create"/> |
30 | <arg value="--env=test"/> | 30 | <arg value="--env=test"/> |
31 | </exec> | 31 | </exec> |
32 | <exec executable="php"> | 32 | <exec executable="php"> |
33 | <arg value="${basedir}/app/console"/> | 33 | <arg value="${basedir}/bin/console"/> |
34 | <arg value="doctrine:schema:create"/> | 34 | <arg value="doctrine:schema:create"/> |
35 | <arg value="--env=test"/> | 35 | <arg value="--env=test"/> |
36 | </exec> | 36 | </exec> |
37 | <exec executable="php"> | 37 | <exec executable="php"> |
38 | <arg value="${basedir}/app/console"/> | 38 | <arg value="${basedir}/bin/console"/> |
39 | <arg value="cache:clear"/> | 39 | <arg value="cache:clear"/> |
40 | <arg value="--env=test"/> | 40 | <arg value="--env=test"/> |
41 | </exec> | 41 | </exec> |
42 | <exec executable="php"> | 42 | <exec executable="php"> |
43 | <arg value="${basedir}/app/console"/> | 43 | <arg value="${basedir}/bin/console"/> |
44 | <arg value="doctrine:fixtures:load"/> | 44 | <arg value="doctrine:fixtures:load"/> |
45 | <arg value="--no-interaction"/> | 45 | <arg value="--no-interaction"/> |
46 | <arg value="--env=test"/> | 46 | <arg value="--env=test"/> |
@@ -55,7 +55,7 @@ | |||
55 | </exec> | 55 | </exec> |
56 | 56 | ||
57 | <exec executable="php"> | 57 | <exec executable="php"> |
58 | <arg value="${basedir}/app/console"/> | 58 | <arg value="${basedir}/bin/console"/> |
59 | <arg value="cache:clear"/> | 59 | <arg value="cache:clear"/> |
60 | <arg value="--env=test"/> | 60 | <arg value="--env=test"/> |
61 | </exec> | 61 | </exec> |
@@ -69,7 +69,7 @@ | |||
69 | </exec> | 69 | </exec> |
70 | 70 | ||
71 | <exec executable="php"> | 71 | <exec executable="php"> |
72 | <arg value="${basedir}/app/console"/> | 72 | <arg value="${basedir}/bin/console"/> |
73 | <arg value="cache:clear"/> | 73 | <arg value="cache:clear"/> |
74 | <arg value="--env=test"/> | 74 | <arg value="--env=test"/> |
75 | </exec> | 75 | </exec> |
@@ -83,7 +83,7 @@ | |||
83 | </exec> | 83 | </exec> |
84 | 84 | ||
85 | <exec executable="php"> | 85 | <exec executable="php"> |
86 | <arg value="${basedir}/app/console"/> | 86 | <arg value="${basedir}/bin/console"/> |
87 | <arg value="cache:clear"/> | 87 | <arg value="cache:clear"/> |
88 | <arg value="--env=test"/> | 88 | <arg value="--env=test"/> |
89 | </exec> | 89 | </exec> |