genPackageVersion.fetchDubInfo

Fetch package information from DUB.

Members

Functions

generateDubExtras
string generateDubExtras(string srcDir)

Auto-detects srcDir if srcDir doesn't already have a value. Returns D source code to be appended to the output file.

getPackageInfo
JSONValue getPackageInfo(JSONValue dubInfo, string packageName)

Get the JSON subtree for a specific package.

getPackageJsonInfo
JSONValue getPackageJsonInfo()

Obtains package info via "dub describe".

Meta