Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct { Name string `json:"name"` Deps []string `json:"deps,omitempty"` Files []string `json:"files,omitempty"` }
Package defines the properties needed to create an individual package.
type Source ¶
type Source struct { URL string `json:"url"` B3Sum string `json:"b3sum" jsonschema:"minLength=64,maxLength=64"` LocalName string `json:"localName,omitempty"` // contains filtered or unexported fields }
Source defines the properties needed to retrieve and validate a source file.
type Spec ¶
type Spec struct { Name string `json:"name"` Description string `json:"description"` Home string `json:"home"` Version string `json:"version"` Release int64 `json:"release"` Sources []Source `json:"sources,omitempty"` BuildDeps string `json:"buildDeps,omitempty"` Build string `json:"build,omitempty"` Test string `json:"test,omitempty"` Install string `json:"install,omitempty"` Packages []Package `json:"packages"` // contains filtered or unexported fields }
Spec contains the properties needed to build one or more packages from the same source code.
func (*Spec) BuildSteps ¶
BuildSteps executes the build, test and install steps as defined in a package spec.
Click to show internal directories.
Click to hide internal directories.