Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Build = fab.Shellf("go build ./...")
Build runs "go build".
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.
Click to show internal directories.
Click to hide internal directories.