dub.package_

Stuff with dependencies.

Members

Classes

Package
class Package

Representing an installed package, usually constructed from a json object. Documentation of the package.json can be found at http://registry.vibed.org/package-format

Enums

InstallLocation
enum InstallLocation

Indicates where a package has been or should be installed to.

Functions

getBasePackage
string getBasePackage(string package_name)

Returns the name of the base package in the case of some sub package or the package itself, if it is already a full package.

getSubPackagePath
string[] getSubPackagePath(string package_name)

Returns all package names, starting with the root package in [0].

Manifest constants

PackageJsonFilename
enum PackageJsonFilename;
Undocumented in source.

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.

PackageInfo
struct PackageInfo

Specifying package information without any connection to a certain installed package, like Package class is doing.

Meta

License

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

Authors

Matthias Dondorff