Initial commit

This commit is contained in:
2025-04-14 17:01:24 +00:00
commit a9293a6595
38 changed files with 3692 additions and 0 deletions

28
build.xml Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="Caldwell Digital Symfony Template" default="build">
<!-- build dev for dev envs -->
<target name="build" depends="setEnv,composer,compileAssets" />
<target name="composer" description="Run composer">
<exec executable="composer">
<arg value="install" />
</exec>
</target>
<target name="compileAssets" description="Run composer">
<exec executable="php">
<arg value="bin/console" />
<arg value="asset-map:compile" />
</exec>
</target>
<target name="setEnv" description="Set the database configuration">
<copy file="${project.basedir}/.env.dist" tofile="${project.basedir}/.env.local" overwrite="true">
<filterchain>
<replacetokens begintoken="%%" endtoken="%%">
<token key="db_url" value="${DATABASE_URL}" />
</replacetokens>
</filterchain>
</copy>
</target>
</project>