_fab

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Build = fab.Shellf("go build ./...")

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.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.Shellf("golangci-lint run ./...")

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.Shellf("go vet ./...")

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