build

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: MPL-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Clean = "clean"
	Force = "force"
)
View Source
var Cmd = cli.Command{
	Name:      "build",
	Usage:     "Run a default project build",
	Action:    Run,
	ArgsUsage: "MODULE",
	Flags: flags.WithGlobalFlags(flags.WithOptions([]cli.Flag{
		cli.BoolFlag{Name: Clean, Usage: "clean artifacts before building"},
		cli.BoolFlag{Name: Force, Usage: "rebuild module even if it appears to already be built"},
	})),
}

Functions

func Do

func Do(m module.Module, clean, force bool) error

func Run

func Run(ctx *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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