aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-12-12 11:32:20 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-12-19 10:35:24 +0100
commit81915ad8df5a1aed268508dce71445f99274d18c (patch)
tree0962323debe9d90787df2638d5a7405c7bf8edba
parentcafb105681e7f9e3979f3ffef4cef6b65968b8fa (diff)
downloadwallabag-81915ad8df5a1aed268508dce71445f99274d18c.tar.gz
wallabag-81915ad8df5a1aed268508dce71445f99274d18c.tar.zst
wallabag-81915ad8df5a1aed268508dce71445f99274d18c.zip
And of course it doesn't work for SQLite
-rw-r--r--build.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 4adf3403..107e912d 100644
--- a/build.xml
+++ b/build.xml
@@ -98,11 +98,20 @@
98 <arg value="doctrine:database:create"/> 98 <arg value="doctrine:database:create"/>
99 <arg value="--env=test"/> 99 <arg value="--env=test"/>
100 </exec> 100 </exec>
101 <!--
102 Looks like it doesn't work and generate an error:
103 There is no table with name '/home/jeremy/github/wallabag/app/..wallabag_entry' in the schema.
104
101 <exec executable="php"> 105 <exec executable="php">
102 <arg value="${basedir}/bin/console"/> 106 <arg value="${basedir}/bin/console"/>
103 <arg value="doctrine:database:import"/> 107 <arg value="doctrine:database:import"/>
104 <arg value="data/sql/sqlite_base.sql"/> 108 <arg value="data/sql/sqlite_base.sql"/>
105 <arg value="--env=test"/> 109 <arg value="--env=test"/>
110 </exec> -->
111 <exec executable="php">
112 <arg value="${basedir}/bin/console"/>
113 <arg value="doctrine:schema:create"/>
114 <arg value="--env=test"/>
106 </exec> 115 </exec>
107 <exec executable="php"> 116 <exec executable="php">
108 <arg value="${basedir}/bin/console"/> 117 <arg value="${basedir}/bin/console"/>