Skip to content

Instantly share code, notes, and snippets.

@joshstrange
Created July 6, 2012 12:59
Show Gist options
  • Save joshstrange/3060040 to your computer and use it in GitHub Desktop.
Save joshstrange/3060040 to your computer and use it in GitHub Desktop.
FileConveyor Config.xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<!-- Sources -->
<sources ignoredDirs="CVS:.svn">
<source name="drupal" scanPath="/var/www/www.domain.com" documentRoot="/var/www" basePath="/www.domain.com/" />
</sources>
<!-- Servers -->
<servers>
<server name="cloudfiles" transporter="mosso">
<username>USERNAME</username>
<api_key>API_KEY</api_key>
<container>CONTAINER</container>
</server>
</servers>
<!-- Rules -->
<rules>
<rule for="drupal" label="CSS, JS, images and Flash">
<filter>
<paths>misc:profiles:modules:themes:sites/all:sites/default</paths>
<extensions>ico:js:css:gif:png:jpg:jpeg:svg:swf</extensions>
</filter>
<processorChain>
<processor name="image_optimizer.KeepFilename" />
<processor name="yui_compressor.YUICompressor" />
<processor name="google_closure_compiler.GoogleClosureCompiler" />
<processor name="link_updater.CSSURLUpdater" />
<processor name="unique_filename.Mtime" />
</processorChain>
<destinations>
<destination server="cloudfiles" path="static" />
</destinations>
</rule>
</rules>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment