Documentation
¶
Overview ¶
Package config contains the model and loader of the goreleaser configuration file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶ added in v0.5.0
type Archive struct {
Format string
NameTemplate string `yaml:"name_template"`
Replacements map[string]string
Files []string
}
Archive config used for the archive
type Build ¶ added in v0.5.0
type Build struct {
Goos []string
Goarch []string
Main string
Ldflags string
Flags string
BinaryName string `yaml:"binary_name"` // deprecated
Binary string
Hooks Hooks
}
Build contains the build configuration section
type FPM ¶ added in v0.7.0
type FPM struct {
Formats []string
Dependencies []string
Conflicts []string
Options FPMOptions
}
FPM config
type FPMOptions ¶ added in v0.11.1
type FPMOptions struct {
Vendor string
URL string
Maintainer string
Description string
License string
}
FPM config options
type Homebrew ¶ added in v0.1.6
type Homebrew struct {
Repo string // deprecated!
GitHub Repo
Folder string
Caveats string
Plist string
Install string
Dependencies []string
Conflicts []string
}
Homebrew contains the brew section
type Project ¶ added in v0.5.0
type Project struct {
Release Release
Brew Homebrew
Build Build
Archive Archive
FPM FPM `yaml:"fpm"`
// test only property indicating the path to the dist folder
Dist string `yaml:"-"`
}
Project includes all project configuration
Click to show internal directories.
Click to hide internal directories.