buildcmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(core *corecmd.Core) *ffcli.Command

New returns a usable ffcli.Command for the build subcommand. TODO(bep): Add -paths (slice) TODO(bep): Add a coverage command (JSON?)

Types

type BuildPaths

type BuildPaths struct {
	Paths         string
	PathsCompiled glob.Glob
	// contains filtered or unexported fields
}

func (*BuildPaths) Init

func (b *BuildPaths) Init() error

type Builder

type Builder struct {
	BuildPaths *BuildPaths
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(core *corecmd.Core, fs *flag.FlagSet) *Builder

NewBuilder returns a new Builder.

func (*Builder) Exec

func (b *Builder) Exec(ctx context.Context, args []string) error

func (*Builder) Init

func (b *Builder) Init() error

Jump to

Keyboard shortcuts

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