Dub.addLocalPackage

Adds a directory to the list of locally known packages.

Forwards to PackageManager.addLocalPackage.

class Dub
void
addLocalPackage
(
string path
,
string ver
,
bool system
)

Parameters

path string

Path to the package

ver string

Optional version to associate with the package (can be left empty)

system bool

Make the package known system wide instead of user wide (requires administrator privileges).

See Also

removeLocalPackage

Meta