Skip to content

Commit

Permalink
[TASK] Add default rsync excludes for TYPO3 CMS
Browse files Browse the repository at this point in the history
By default fileadmin and uploads folder are symlinked with
Data, so we must exclude them in rsync in any case.
  • Loading branch information
helhum committed Dec 12, 2016
1 parent eb24ce5 commit 17488fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Application/TYPO3/CMS.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ public function __construct($name = 'TYPO3 CMS')
$this->options = array_merge($this->options, array(
'context' => 'Production',
'scriptFileName' => 'vendor/bin/typo3cms',
'webDirectory' => 'web'
'webDirectory' => 'web',
'rsyncExcludes' => array(
'.git',
'web/fileadmin',
'web/uploads'
)
));
}

Expand Down

0 comments on commit 17488fc

Please sign in to comment.