type

BuildGroup

abstract class BuildGroup : BuildScript

BuildGroup is the base class for build scripts which compose a set of children build scripts into a single group. The target's of a BuildGroup are the union of the target names available in the children scripts.

fields

childrenScripts

Required list of Uris relative to this scriptDir of Fantom build script files to group together.

methods

children

Compiled children scripts

dumpEnv
runOnChildren

Run the specified target name on each of the children scripts that support the specified name.

spawnOnChildren

Run the specified target name on each of the children scripts that support the specified name.

targets

BuildGroup publishes the union by name of it's children script targets plus any of its own targets.

Slot Details

children

BuildScript[] children()

Compiled children scripts

childrenScripts

Uri[] childrenScripts := Uri[,]

Required list of Uris relative to this scriptDir of Fantom build script files to group together.

dumpEnv

virtual override Void dumpEnv()

runOnChildren

virtual Void runOnChildren(Str targetName)

Run the specified target name on each of the children scripts that support the specified name.

spawnOnChildren

virtual Void spawnOnChildren(Str targetName)

Run the specified target name on each of the children scripts that support the specified name. Unlike runOnChildren this method actually spawns a new process to run the child script.

targets

virtual override TargetMethod[] targets()

BuildGroup publishes the union by name of it's children script targets plus any of its own targets.