Added rule to run tests

master
Aadhavan Srinivasan 3 days ago
parent b734d61a03
commit 4f577592ba

@ -1,5 +1,5 @@
.DEFAULT_GOAL := buildCmd
.PHONY: fmt vet build
.PHONY: fmt vet buildLib buildCmd test
fmt:
go fmt ./...
@ -9,3 +9,5 @@ buildLib: vet
go build -gcflags="-N -l" ./...
buildCmd: buildLib
go build -C cmd/ -o re ./...
test: buildCmd
go test -v ./...

Loading…
Cancel
Save