\LoadModulesTask
A phing task to load modules from a specific URL via SVN or git checkouts
Passes commands directly to the commandline to actually perform the
svn checkout/updates, so you must have these on your path when this
runs.
- Author: Marcus Nyeholt <marcus@symbiote.com.au>
Synopsis
class LoadModulesTask
extends SilverStripeBuildTask
{
- // constants
- const MODULE_SEPARATOR = ':';
- // members
- private String $file = '';
- private String $name = '';
- private String $url = '';
- private boolean $nonInteractive = false;
- // methods
- public void setNoninteractive()
- public void setFile()
- public void setName()
- public void setUrl()
- public void main()
- protected void loadModule()
- protected void loadMetadata()
- protected void writeMetadata()
- // Inherited methods from SilverStripeBuildTask
- protected void devBuild()
- protected string getInput()
- protected void exec()
- protected string formatWithColor()
Hierarchy
Extends
Constants
Name | Value |
---|---|
MODULE_SEPARATOR | ':' |
Members
private
Methods
protected
- loadMetadata()
- loadModule() — Actually load the module!
- writeMetadata()
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