From 28386eb5f6c57b724c203b6043b211db36fc6c41 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sun, 25 Dec 2022 11:16:51 -0500 Subject: Makefile: update `build` and `test` targets. Build and test with `-race` flag. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 66a2090..3a8b224 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ MOD=ricketyspace.net/fern fern: fmt fix vet - go build + go build -race fmt: go fmt ./... @@ -16,5 +16,5 @@ vet: go vet ./... test: - go test ${MOD}/db ${MOD}/feed ${MOD}/file ${MOD}/schema + go test -race ${MOD}/db ${MOD}/feed ${MOD}/file ${MOD}/schema .PHONY: test -- cgit v1.2.3