bldy.build / build / builder

Index | Files | Exmaples | Directories
go get bldy.build/build/builder

Index

Package Files

builder.go buildlog.go ns.go

Constants

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

Variables

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

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
}

Subdirectories