builder

package
v0.0.0-...-d04b29a Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SCSSLOG = "success"
	FAILLOG = "fail"
)

Variables

View Source
var (
	ErrHostNotAvailable = errors.New("this compilation target is not compatible to run on this plan")
)

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Origin      string
	Wd          string
	ProjectPath string
	Total       int
	Timeout     chan bool `json:"-"`
	// contains filtered or unexported fields
}

func New

func New(g *graph.Graph, c *Config, n Notifier) (b Builder)

func (*Builder) Execute

func (b *Builder) Execute(ctx context.Context, r int)

type Config

type Config struct {
	Fresh    bool
	BuildOut *string
	Cache    *string
}

type Notifier

type Notifier interface {
	Update(*graph.Node)
	Error(error)
	Done(time.Duration)
}

type Update

type Update struct {
	TimeStamp time.Time
	Target    string
	Status    build.Status
	Worker    int
	Cached    bool
}

Jump to

Keyboard shortcuts

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