Build

Members

Functions

build
BuildResult build(BuildSystem buildSystem)

Perform the build Throws if build fails

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.

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

Static functions

dubWorkDir
Build dubWorkDir(string subDir = "dbuild")

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