Documentation ¶
Index ¶
- func Command() cli.Command
- func FullArtifactsPaths(dister Dister, buildSpec params.ProductBuildSpec, distCfg params.Dist) []string
- func Products(products []string, cfg params.Project, forceBuild bool, wd string, ...) error
- func RequiresDist(products []string, cfg params.Project, wd string) ([]string, error)
- func Run(buildSpecWithDeps params.ProductBuildSpecWithDeps, stdout io.Writer) error
- type Dister
- type Packager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullArtifactsPaths ¶
func RequiresDist ¶
func Run ¶
func Run(buildSpecWithDeps params.ProductBuildSpecWithDeps, stdout io.Writer) error
Run produces a directory and artifacts (such as a .tgz or .rpm) for the specified product using the specified build specification. The binaries for the distribution must already exist in the expected locations. The distribution directory and artifact are written to the directory specified by "buildSpecWithDeps.Spec.DistCfgs.*.OutputDir".
Types ¶
type Dister ¶
type Dister interface { NumArtifacts() int ArtifactPathsInOutputDir(buildSpec params.ProductBuildSpec) []string Dist(buildSpecWithDeps params.ProductBuildSpecWithDeps, distCfg params.Dist, outputProductDir string, spec specdir.LayoutSpec, values specdir.TemplateValues, stdout io.Writer) (Packager, error) DistPackageType() string }
Click to show internal directories.
Click to hide internal directories.