Package

Represents a package, including its sub packages

Documentation of the dub.json can be found at http://registry.vibed.org/package-format

Members

Functions

describe
PackageDescription describe(BuildPlatform platform, string config)

Returns a description of the package for use in IDEs or build tools.

generateInfoString
string generateInfoString()

Human readable information of this package and its dependencies.

getBuildSettings
BuildSettings getBuildSettings(in BuildPlatform platform, string config)

Returns all BuildSettings for the given platform and config.

getCombinedBuildSettings
BuildSettings getCombinedBuildSettings()

Returns the combination of all build settings for all configurations and platforms

getDefaultConfiguration
string getDefaultConfiguration(in BuildPlatform platform, bool allow_non_library = false)

Returns the default configuration to build for the given platform

getPlatformConfigurations
string[] getPlatformConfigurations(in BuildPlatform platform, bool is_main_package = false)

Returns a list of configurations suitable for the given platform

storeInfo
void storeInfo()
void storeInfo(Path path)

Overwrites the packge description file using the default filename with the current information.

Meta