Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrTaskFail ¶ added in v0.0.9
func (ErrTaskFail) Error ¶ added in v0.0.9
func (e ErrTaskFail) Error() string
type Oyafile ¶
type Oyafile struct { Dir string Path string RootDir string Shell string Imports map[types.Alias]types.ImportPath Tasks task.Table Values template.Scope Project string // Project is set for root Oyafile. Ignore []string // Ignore contains directory exclusion rules. Requires []PackReference // Replacements map packs to local paths relative to project root directory for development based on the Replace: directive. Replacements PackReplacements IsBuilt bool // contains filtered or unexported fields }
func (*Oyafile) Build ¶
func (oyafile *Oyafile) Build(loader PackLoader) error
type PackLoader ¶
type PackLoader interface {
Load(importPath types.ImportPath) (*Oyafile, bool, error)
}
type PackReference ¶
type PackReference struct { ImportPath types.ImportPath Version semver.Version // ReplacementPath is a path relative to the root directory, when the replacement for the pack can be found, based on the Replace: directive. ReplacementPath string }
type PackReplacements ¶
type PackReplacements map[types.ImportPath]string
Click to show internal directories.
Click to hide internal directories.