Skip to content

Instantly share code, notes, and snippets.

@hectorsanjuan
hectorsanjuan / .gitignore
Created September 17, 2011 18:56
Git ignore file for Symfony2 projects.
# Symfony2 files.
/app/bootstrap*
/app/cache/*
/app/logs/*
/app/config/parameters.ini
/web/bundles/
/web/uploads/
/vendor/
# Phing artifacts builded.
@hectorsanjuan
hectorsanjuan / build.xml
Created September 17, 2011 18:22
Phing build.xml for Symfony2 projects
<?xml version="1.0" encoding="UTF-8"?>
<project name="${projectName}" basedir="." default="build:main">
<!-- Properties -->
<property name="dir.app" value="${project.basedir}/app" />
<property name="dir.src" value="${project.basedir}/src" />
<property name="dir.build" value="${project.basedir}/app/build" />
<property name="dir.docs" value="${dir.build}/docs" />
<property name="dir.docs.phpdoc" value="${dir.docs}/phpdoc" />
<property name="dir.docs.docblox" value="${dir.docs}/docblox" />
<property name="dir.reports" value="${dir.build}/logs" />