Skip to content

Commit de96e16

Browse files
committed
Clean up Makefile phonies and add test target
1 parent c1c9b19 commit de96e16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: build
1+
.PHONY: build check staticcheck vulncheck deadcode fmt test
22

33
build: check fmt
44
go build -o narc cmd/narc/main.go
@@ -16,3 +16,6 @@ deadcode:
1616

1717
fmt:
1818
go run mvdan.cc/gofumpt@latest -w ./
19+
20+
test:
21+
go test ./...

0 commit comments

Comments
 (0)