_fab

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Build = fab.Command("go build ./...", fab.CmdStdout(os.Stdout))

Build runs "go build".

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

Check runs all of Vet, Lint, and Test.

View Source
var Cover = fab.Seq(
	fab.Command("go test -coverprofile cover.out ./...", fab.CmdStdout(os.Stdout)),
	fab.Command("go tool cover -html cover.out"),
)

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

View Source
var Lint = fab.Command("golangci-lint run ./...", fab.CmdStdout(os.Stdout))

Lint runs staticcheck.

View Source
var Test = fab.Command("go test -race -cover ./...", fab.CmdStdout(os.Stdout))

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

View Source
var Vet = fab.Command("go vet ./...", fab.CmdStdout(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