Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildContext ¶
type BuildContext struct {
Project string `toml:"project"`
Tag string `toml:"tag"`
Goos string `toml:"goos"`
Goarch string `toml:"goarch"`
}
BuildContext hold the core information about a build. This is used both by the plugins and the built-in archive implementation as the template context for the name template. It's kept here in this package because it's convenient.
type Initializer ¶
type Initializer interface {
// Init initializes a config struct, that could be parsing of strings into Go objects, compiling of Glob patterns etc.
// It returns an error if the initialization failed.
Init() error
}
Click to show internal directories.
Click to hide internal directories.