working on DB setup via Phing

pull/1/head
ppaulis 2016-11-02 13:05:57 +01:00
parent df92c4ea36
commit 3d5b6e81a2
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@
</target>
<target name="setup-db" description="Setup Database Credentials">
<echo msg="Loading file ${project.basedir}/config/autoload/database.local.php.dist" />
<loadfile property="db.config" file="${project.basedir}/config/autoload/database.local.php.dist">
<filterchain>
<replacetokens>
@ -43,6 +44,7 @@
</replacetokens>
</filterchain>
</loadfile>
<echo msg="Writing file ${project.basedir}/config/autoload/database.local.php" />
<echo message="${db.config}" file="${project.basedir}/config/autoload/database.local.php"/>
</target>