Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 954 Bytes

DEVELOPMENT.md

File metadata and controls

54 lines (33 loc) · 954 Bytes

Development

Periscope uses the standard Go toolchain for development.

Testing

You can run the tests with:

go test ./...

Formatting

You can run the code formatter with:

go fmt ./...

Static analysis

You can run Go's built-in vet tool with:

go vet ./...

This project additionally uses the staticcheck tool. You can install it with:

go install honnef.co/go/tools/cmd/staticcheck@latest

You can run staticcheck with:

staticcheck -f stylish ./...

Building and installing

You can build and install the psc binary locally with go install ./cmd/psc.

Continuous integration

Testing and static analysis is run in CI. Additionally, building and publishing binaries is run in CI.