mbs

package
v0.0.0-...-fa6965a Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Options
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(c *cache.Cache, o Options) *Builder

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, makefile string, targets []string) error

type Measures

type Measures struct {
	TimeGraph time.Duration
}

type Options

type Options struct {
	LogCommands bool
	LogOutput   bool

	// If nil os.Stdout will be used
	Stdout io.Writer
	// If nil os.Stderr will be used
	Stderr io.Writer
}

Options configure how the builder should operate

Jump to

Keyboard shortcuts

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