Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProjectFileName = "project.yaml" TargetDirName = "target" )
Variables ¶
View Source
var FindProject = internalFindProject
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct {
Classifier string `yaml:"classifier"`
Targets []Target `yaml:"targets"`
Archive string `yaml:"archive"`
Resources []string `yaml:"resources"`
Environment map[string]string `yaml:"env"`
}
func (*Artifact) ArtifactFile ¶
type Project ¶
type Project struct {
FilePath string `yaml:",omitempty"`
Name string `yaml:"name"`
Version string `yaml:"version"`
Artifacts []Artifact `yaml:"artifacts"`
Repositories map[string]map[string]string `yaml:"repositories"`
Resources []string `yaml:"resources"`
}
func LoadProject ¶
func (*Project) ProjectPath ¶
func (*Project) TargetPath ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.