Files
genqlient/Makefile
T
Ben KraftandGitHub c399be2792 Autofix lint when we can (#99)
## Summary:
This is mostly useful for gofumpt, although a few other linters may
support it.  Anyway, we may as well.

## Test plan:
make lint


Author: benjaminjkraft

Reviewers: dnerdy, StevenACoffman

Required Reviewers: 

Approved By: dnerdy, StevenACoffman

Checks:  Test (1.17),  Test (1.16),  Test (1.15),  Test (1.14),  Lint,  Test (1.17),  Test (1.16),  Test (1.15),  Test (1.14),  Lint

Pull Request URL: https://github.com/Khan/genqlient/pull/99
2021-09-16 09:06:14 -07:00

14 lines
266 B
Makefile

example:
go generate ./...
go run ./example
lint:
( cd internal/lint && go build -o golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint )
internal/lint/golangci-lint run ./... --fix
check: lint
go test -cover ./...
go mod tidy
.PHONY: example