Skip to content

Instantly share code, notes, and snippets.

@xwero
Created August 17, 2011 15:52
Show Gist options
  • Select an option

  • Save xwero/1151845 to your computer and use it in GitHub Desktop.

Select an option

Save xwero/1151845 to your computer and use it in GitHub Desktop.
my first phing buildfile
<?xml version="1.0" encoding="UTF-8"?>
<project name="FooBar" default="dist">
<copy todir="c:\FooBarStage\vendor\swiftmailer">
<fileset dir=".\vendor\swiftmailer">
<exclude name=".git\**" /> <!-- exclude .git directory files because they can be locked -->
<exclude name=".gitignore" />
<exclude name="CHANGES" />
<exclude name="README" />
<exclude name="README.git" />
<exclude name="VERSION" />
<exclude name="build.xml" />
<exclude name="create_pear_package.php" />
<exclude name="package.xml.tpl" />
</fileset>
</copy>
<delete dir="c:\FooBarStage\vendor\swiftmailer\.git" />
<delete dir="c:\FooBarStage\vendor\swiftmailer\doc" />
<delete dir="c:\FooBarStage\vendor\swiftmailer\notes" />
<delete dir="c:\FooBarStage\vendor\swiftmailer\test-suite" />
<delete dir="c:\FooBarStage\vendor\swiftmailer\tests" />
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment