Skip to content

Commit

Permalink
chore: update Makefile to ease local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Aug 8, 2021
1 parent 4155098 commit 60b86cc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
.PHONY: build
build: test
go build ./cmd/piv-agent

.PHONY: test
test: mod-tidy generate
go test -v ./...

mod-tidy:
.PHONY: mod-tidy
mod-tidy: generate
go mod tidy

.PHONY: generate
generate:
go generate ./...

0 comments on commit 60b86cc

Please sign in to comment.