\ApplyPatchesTask
Task for applying patch files from a folder to a source trunk
Assumes that the patches were created relative to the root folder of the application
- Author: Marcus Nyeholt <marcus@symbiote.com.au>
Synopsis
class ApplyPatchesTask
extends SilverStripeBuildTask
{
- // members
- private $patchDir;
- // methods
- public void setPatchDir()
- public void main()
- // Inherited methods from SilverStripeBuildTask
- protected void devBuild()
- protected string getInput()
- protected void exec()
- protected string formatWithColor()
Hierarchy
Extends
Members
private
- $patchDir
Methods
public
Inherited from SilverStripeBuildTask
protected
- devBuild()
- exec()
- formatWithColor() — Formats a buffer with a specified ANSI color sequence if colors are enabled. (Taken from PHPUnit)
- getInput() — Get some input from the user