togo/Makefile
jolheiser e8a896fbac
Initial commit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-04-08 23:58:22 -05:00

19 lines
264 B
Makefile

GO ?= go
.PHONY: vet
vet:
$(GO) vet ./...
.PHONY: fmt
fmt:
$(GO) fmt ./...
.PHONY: test
test:
$(GO) test -race ./...
.PHONY: golden
golden:
cd _testdata && $(GO) run golden.go
$(GO) fmt _testdata/test.json.go _testdata/test.toml.go _testdata/test.yaml.go