Package.load

Constructs a Package using a package that is physically present on the local file system.

class Package
static
load
(
Path root
,
Path recipe_file = Path.init
,
Package parent = null
,
string version_override = ""
)

Parameters

root Path

The directory in which the package resides.

recipe_file Path

Optional path to the package recipe file. If left empty, the root directory will be searched for a recipe file.

parent Package

Reference to the parent package, if the new package is a sub package.

version_override string

Optional version to associate to the package instead of the one declared in the package recipe, or the one determined by invoking the VCS (GIT currently).

Meta