Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Package ¶
type Package struct { Name string // Name of project Version string // Version of project Dependencies []Requirement Dir string // directory of cartfile }
func FromResolvedCartfile ¶
From the docs: Cartfiles are a restricted subset of the Ordered Graph Data Language, and any standard OGDL tool should be able to parse them. Because of this, we use an OGDL parsing library (rveen/ogdl), which parses a cartfile like so: _
github Quick/Nimble v7.1.3 github facebook/ios-snapshot-test-case 2.1.4 github facebook/yoga 1.9.0 github jspahrsummers/xcconfigs 0.9
type Requirement ¶
type Requirement struct { Origin string // "github" || "git" || "binary" Name string Revision string // tag/branch/commit CheckoutName string // if github repo, i.e. "Quick/Nimble", Name will be "Nimble" }
func (Requirement) Package ¶
func (r Requirement) Package(dir string) (Package, *errors.Error)
Attempt to construct a Package from a dep given the parent directory
func (Requirement) String ¶
func (r Requirement) String() string
Click to show internal directories.
Click to hide internal directories.