Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 665 Bytes

CONTRIBUTION.md

File metadata and controls

41 lines (29 loc) · 665 Bytes

Testing

$ go test

Watch mode

Use: https://github.com/cespare/reflex

$ reflex -g '*.go' -d "none" -- sh -c 'printf "\n"; go test'

With data race detection

$ go test -race

Coverage

$ go test -race -coverprofile=coverage.txt -covermode=atomic && go tool cover -html coverage.txt

Linting

$ golangci-lint run

Release

  1. Update changelog with new version in vX.X.X format title and list of changes
  2. Commit with misc: vX.X.X changelog commit message and push to master
  3. Let craft do the rest
$ craft prepare X.X.X
$ craft publish X.X.X --skip-status-check