AppBuild
in package
Table of Contents
Constants
- SUPPORTED_ENCODINGS = ['UTF-8', 'Windows-1252', 'ISO-8859-1']
Methods
- __construct() : mixed
- __toString() : string
- addDepot() : void
- setLive() : void
Constants
SUPPORTED_ENCODINGS
public
mixed
SUPPORTED_ENCODINGS
= ['UTF-8', 'Windows-1252', 'ISO-8859-1']
Methods
__construct()
public
__construct(string $appId, string $description, string $contentPath, string $buildPath) : mixed
Parameters
- $appId : string
-
your AppID
- $description : string
-
internal description for this build
- $contentPath : string
-
root content folder, relative to location of this file
- $buildPath : string
-
build output folder for build logs and build cache files
__toString()
public
__toString() : string
Return values
stringaddDepot()
public
addDepot(string $depotId[, string $localPath = '*' ][, string $depotPath = '.' ][, string $recursive = '1' ]) : void
Parameters
- $depotId : string
-
depot ID
- $localPath : string = '*'
-
all files from contentroot folder
- $depotPath : string = '.'
-
mapped into the root of the depot
- $recursive : string = '1'
-
include all subfolders
setLive()
public
setLive(string $branch) : void
Parameters
- $branch : string
-
name of the branch to set live