Development

Changeset 2843

You must first sign up to be able to contribute.

Changeset 2843

Show
Ignore:
Timestamp:
11/28/06 17:03:53 (3 years ago)
Author:
fabien
Message:

added support for --include-from and --files-from in pake sync task

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/data/tasks/sfPakeEnvironment.php

    r2235 r2843  
    5252  catch (pakeException $e) 
    5353  { 
    54     $parameters = '-azC --exclude-from=config/rsync_exclude.txt --force --delete'; 
     54    $parameters = '-azC --force --delete'; 
     55    if (file_exists('config/rsync_exclude.txt')) 
     56    { 
     57      $parameters .= ' --exclude-from=config/rsync_exclude.txt'; 
     58    } 
     59 
     60    if (file_exists('config/rsync_include.txt')) 
     61    { 
     62      $parameters .= ' --include-from=config/rsync_include.txt'; 
     63    } 
     64 
     65    if (file_exists('config/rsync.txt')) 
     66    { 
     67      $parameters .= ' --files-from=config/rsync.txt'; 
     68    } 
    5569  } 
    5670 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.