working on DB setup via Phing
parent
df92c4ea36
commit
3d5b6e81a2
|
@ -32,6 +32,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="setup-db" description="Setup Database Credentials">
|
<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">
|
<loadfile property="db.config" file="${project.basedir}/config/autoload/database.local.php.dist">
|
||||||
<filterchain>
|
<filterchain>
|
||||||
<replacetokens>
|
<replacetokens>
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
</replacetokens>
|
</replacetokens>
|
||||||
</filterchain>
|
</filterchain>
|
||||||
</loadfile>
|
</loadfile>
|
||||||
|
<echo msg="Writing file ${project.basedir}/config/autoload/database.local.php" />
|
||||||
<echo message="${db.config}" file="${project.basedir}/config/autoload/database.local.php"/>
|
<echo message="${db.config}" file="${project.basedir}/config/autoload/database.local.php"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue