Skip to content

Instantly share code, notes, and snippets.

View icomefromthenet's full-sized avatar

Lewis Dyer icomefromthenet

View GitHub Profile
@viccherubini
viccherubini / Capfile
Created November 10, 2012 11:31
Symfony Capistrano deployment
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
load 'config/deploy' # remove this line to skip loading any of the default tasks
before 'deploy:create_symlink', 'deploy:build'
before 'deploy:create_symlink', 'deploy:migrate'
@viccherubini
viccherubini / build.xml
Created November 10, 2012 11:26
Symfony Phing build.xml file
<?xml version="1.0" encoding="UTF-8"?>
<project name="Sample Symfony Application" default="build">
<resolvepath propertyName="root_path" file="./" />
<resolvepath propertyName="config_path" file="./app/config/" />
<php function="date" returnProperty="build_date">
<param value="c" />
</php>