_fab

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Build = golang.MustBinary("cmd/fab", "fab")

Build builds the fab binary.

View Source
var Check = fab.All(Vet, Lint, Test)

Check runs all of Vet, Lint, and Test.

View Source
var Clean = fab.Clean("fab", "cover.out")
View Source
var Cover = fab.Seq(
	fab.Shellf("go test -coverprofile cover.out ./..."),
	fab.Shellf("go tool cover -html cover.out"),
)

Cover produces a test-coverage profile and opens it in a browser.

View Source
var Lint = &fab.Command{Shell: "golangci-lint run ./...", Stdout: os.Stdout}

Lint runs staticcheck.

View Source
var Test = fab.Shellf("go test -race -cover ./...")

Test runs "go test" with the race detector enabled, plus coverage reporting.

View Source
var Vet = &fab.Command{Shell: "go vet ./...", Stdout: os.Stdout}

Vet runs "go vet".

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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