Skip to content

Commit

Permalink
Add Makefile targets fmt, vet and tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas committed Nov 30, 2022
1 parent fbcb0f0 commit 5d31876
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
.PHONY: vet
vet: ## Run go vet
go vet ./...

.PHONY: fmt
fmt: ## Run go fmt
go fmt ./...

.PHONY: tidy
tidy: ## Run go mod tidy
go mod tidy

.PHONY: build
build: generate-idl
build: fmt vet tidy generate-idl
go build ./...

.PHONY: test
Expand Down

0 comments on commit 5d31876

Please sign in to comment.