PackageRecipe

Represents the contents of a package recipe file (dub.json/dub.sdl) in an abstract way.

This structure is used to reason about package descriptions in isolation. For higher level package handling, see the Package class.

struct PackageRecipe {
string name;
string version_;
string description;
string homepage;
string[] authors;
string copyright;
string license;
string[] ddoxFilterArgs;
string ddoxTool;
BuildSettingsTemplate buildSettings;
ConfigurationInfo[] configurations;
BuildSettingsTemplate[string] buildTypes;
ToolchainRequirements toolchainRequirements;
SubPackage[] subPackages;
}

Members

Functions

clone
PackageRecipe clone()

Clones the package recipe recursively.

Meta