cocoapods

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2019 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckoutOptions

type CheckoutOptions struct {
	Git    string
	Commit string
	Tag    string
}

type Cocoapods

type Cocoapods struct {
	Bin string
}

func (*Cocoapods) Install

func (c *Cocoapods) Install(dir string) error

type ExternalSource

type ExternalSource struct {
	Git    string
	Branch string
	Tag    string

	Path string
}

type Lockfile

type Lockfile struct {
	Pods            []Spec
	Dependencies    []Requirement
	CheckoutOptions map[string]CheckoutOptions
	ExternalSources map[string]ExternalSource
	SpecRepos       map[string][]string
}

func FromLockfile

func FromLockfile(filename ...string) (Lockfile, error)

type RawLockfile

type RawLockfile struct {
	Pods            []interface{}                `yaml:"PODS"`         // Transitive dependencies (this is actually `[](map[string][]string | string)`)
	Dependencies    []string                     `yaml:"DEPENDENCIES"` // Direct dependencies
	CheckoutOptions map[string]map[string]string `yaml:"CHECKOUT OPTIONS"`
	ExternalSources map[string]map[string]string `yaml:"EXTERNAL SOURCES"`
	SpecRepos       map[string][]string          `yaml:"SPEC REPOS"`
}

type Requirement

type Requirement struct {
	Name       string
	Version    string
	Repository string
	Branch     string
	Tag        string

	Original string
}

func ParseRequirement

func ParseRequirement(req string) Requirement

func (*Requirement) String

func (r *Requirement) String() string

type Spec

type Spec struct {
	Name         string
	Version      string
	Dependencies []Requirement
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL