Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultConfigFilename contains the default filename of the promu config file
DefaultConfigFilename = ".promu.yml"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.3.0
type Config struct {
Build struct {
Binaries []Binary
Flags string
LDFlags string
ExtLDFlags []string
Prefix string
Static bool
}
Crossbuild struct {
Platforms []string
}
Repository struct {
Path string
}
Go struct {
CGo bool
Version string
}
Tarball struct {
Files []string
Prefix string
}
}
Config contains the Promu Command Configuration
type ProjectInfo ¶
type ProjectInfo struct {
Branch string
Name string
Owner string
Repo string
Revision string
Version string
}
ProjectInfo represents current project useful informations.
func NewProjectInfo ¶
func NewProjectInfo() (ProjectInfo, error)
NewProjectInfo returns a new ProjectInfo.
Click to show internal directories.
Click to hide internal directories.