Skip to content

Commit

Permalink
build: Add 'check' target
Browse files Browse the repository at this point in the history
  • Loading branch information
cfergeau committed Jun 13, 2024
1 parent 38a2ad6 commit 0986d5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all build clean cross test
.PHONY: all build check clean cross test

DEFAULT_GOOS=$(shell go env GOOS)
DEFAULT_GOARCH=$(shell go env GOARCH)
Expand All @@ -12,6 +12,8 @@ include tools/tools.mk

cross: bin/macadam-darwin-amd64 bin/macadam-darwin-arm64 bin/macadam-linux-amd64 bin/macadam-linux-arm64 bin/macadam-windows-amd64

check: lint test

test:
@go test -v ./pkg/...

Expand Down

0 comments on commit 0986d5f

Please sign in to comment.