logo

abstract class

build::BuildGroup

sys::Obj
  build::BuildScript
    build::BuildGroup

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.

Slots

children

BuildScript[] children

Compiled children scripts

Source

childrenScripts

Uri[] childrenScripts

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

Source

defaultTarget

override Target defaultTarget()

Assume the default target is "compile".

Source

makeTargets

override Target[] makeTargets()

BuildGroup publishes the union by name of it's children script targets.

Source

runOnChildren

Void runOnChildren(Str targetName)

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

Source

spawnOnChildren

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.

Source