build

package
v0.6.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package build provides the algorithm for building yb targets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, sys Sys, target *yb.Target) (err error)

Execute runs the given phase. It assumes that the phase's dependencies are already available in the biome.

func Setup

func Setup(ctx context.Context, sys Sys, target *yb.Target) (_ biome.BiomeCloser, err error)

Setup arranges for the phase's dependencies to be available, returning a new biome that has the dependencies configured. It is the caller's responsibility to call Close on the returned biome.

Types

type Sys

type Sys = buildpack.Sys

Sys holds dependencies provided by the caller needed to run builds.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL