targetΒΆ
type target < anyBase type for all targets.
meth (Target: target) << (Dependency: any): targetAdds a dependency to
Target. Equivalent toTarget[Dependency].meth (Target: target) => (Function: any): targetSets the build function for
TargettoFunctionand returnsTarget. The current context is also captured.meth (Target: target)[Dependency: any, ...]: targetAdds a number of dependencies to
Target. * IfDependencyis a list then each value is added. * IfDependencyis a string then a dependency on the corresponding symbol target is added. * OtherwiseDependencyshould be another target. ReturnsTarget.meth (Target: target):affects: targetsetReturns the set of dependencies of
Target.meth (Target: target):build: function | nilReturns the build function of
Targetif one has been set, otherwise returnsnil.meth (Target: target):build(Function: any): targetSets the build function for
TargettoFunctionand returnsTarget. The current context is also captured.meth (Target: target):cached_depends: targetsetReturns the set of dependencies of
Target.meth (Target: target):context: context | nilReturns the build context of
Targetif one has been set, otherwise returnsnil.meth (Target: target):depends: targetsetReturns the set of dependencies of
Target.meth (Target: target):id: stringReturns the id of
Target.meth (Target: target):priority: integerReturns the computed priority of
Target.meth (Target: target):scan(Name: string): scanReturns a new scan target using
Targetas the base target.