Dub.addLocalPackage

Adds a directory to the list of locally known packages.

Forwards to PackageManager.addLocalPackage.

  1. void addLocalPackage(string path, string ver, bool system)
    class Dub
    deprecated
    void
    addLocalPackage
    (
    string path
    ,
    string ver
    ,
    bool system
    )
  2. void addLocalPackage(string path, string ver, PlacementLocation loc)

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