Build

Undocumented in source.

Members

Functions

build
BuildResult build(BuildSystem buildSystem)

Perform the build Throws if build fails

debug_
Build debug_()
Undocumented in source. Be warned that the author may not have intended to support it.
install
Build install(string prefix)

Set the install directory. If not called, it will be set automatically within the work dir

quiet
Build quiet()

Do not log and shut down external commands output.

release
Build release()
Undocumented in source. Be warned that the author may not have intended to support it.
src
Build src(Source source)

Set the source package to be fetched

target
Build target(Target target)

Add a target to be checked before attempting to start the build and to help resolving to a result artifact

type
Build type(BuildType type)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

dubWorkDir
Build dubWorkDir(string subDir)

Start to construct Build from within the .dub/subDir. This workDir will be where the source will be downloaded, extracted and where the build will take place. An exception will be thrown if dub environment cannot be detected.

workDir
Build workDir(string workDir)

Start to construct Build from within the workDir. This workDir will be where the source will be downloaded, extracted and where the build will take place.

Meta