dub.recipe.packagerecipe

Abstract representation of a package description file.

Members

Functions

getBasePackageName
string getBasePackageName(string package_name)

Returns the name of the top level package for a given (sub) package name.

getSubPackageName
string getSubPackageName(string package_name)

Returns the qualified sub package part of the given package name.

getSubPackagePath
string[] getSubPackagePath(string package_name)

Returns the individual parts of a qualified package name.

Structs

BuildSettingsTemplate
struct BuildSettingsTemplate

This keeps general information about how to build a package. It contains functions to create a specific BuildSetting, targeted at a certain BuildPlatform.

ConfigurationInfo
struct ConfigurationInfo

Bundles information about a build configuration.

PackageRecipe
struct PackageRecipe

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

Meta

Authors

Sönke Ludwig, Matthias Dondorff

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.