Skip to content

Commit d135dc6

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
Add Makefile with generate, lint, and test targets
1 parent f648daa commit d135dc6

File tree

2 files changed

+110
-20
lines changed

2 files changed

+110
-20
lines changed

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.PHONY: generate lint test
2+
3+
generate:
4+
git submodule update --init
5+
go generate ./pkg/gen/
6+
7+
lint:
8+
go run github.com/golangci/golangci-lint/cmd/golangci-lint@latest run ./...
9+
10+
test:
11+
go test ./...

pkg/gen/raw/types.go

Lines changed: 99 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)