DManager

Class which manages a D checkout and its dependencies.

Members

Aliases

buildDir
alias buildDir = subDir!"build"
Undocumented in source.
dlDir
alias dlDir = subDir!"dl"
Undocumented in source.
repoDir
alias repoDir = subDir!"repo"
Undocumented in source.

Classes

Builder
class Builder

Our custom D builder.

Functions

build
void build()

Build D.

checkout
void checkout(string rev)

Go to a specific revision. Assumes a clean state (call reset first).

componentRepo
Repository componentRepo(string component)

Return the Git repository of the specified component.

getLog
LogEntry[] getLog()

Gets the D merge log (newest first).

incrementalBuild
void incrementalBuild()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize(bool update)

Initialize the repository and prerequisites.

listComponents
string[] listComponents()

Return array of component (submodule) names.

log
void log(string line)

Override to add logging.

logProgress
void logProgress(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
prepareBuildPrerequisites
void prepareBuildPrerequisites()

Obtains prerequisites necessary for building D with the current configuration.

prepareBuilder
void prepareBuilder()

Create the Builder.

prepareEnv
void prepareEnv()

Prepare the build environment (dEnv).

prepareRepo
void prepareRepo(bool update)

Prepare the checkout and initialize the repository. Clone if necessary, checkout master, optionally update.

prepareRepoPrerequisites
void prepareRepoPrerequisites()

Obtains prerequisites necessary for managing the D repository.

reset
void reset()

Clean up (delete all built and intermediary files).

Properties

repo
Repository repo [@property getter]

The repository.

subDir
string subDir [@property getter]

Get a specific subdirectory of the work directory.

Structs

Config
struct Config

DManager configuration.

LogEntry
struct LogEntry
Undocumented in source.

Variables

builder
Builder builder;

Our custom D builder.

config
Config config;

DManager configuration.

dEnv
string[string] dEnv;

Environment used when building D.

dmcDir
string dmcDir;
Undocumented in source.
paths
string[] paths;
sdkDir
string sdkDir;
vsDir
string vsDir;
Undocumented in source.

Meta