summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6dd8753..b781683 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ PKGS=${MOD}/cache ${MOD}/client ${MOD}/nws ${MOD}/photon ${MOD}/time
CSS=static/peach.min.css
peach: vet fix fmt ${CSS}
- go build ${BUILD_OPTS}
+ go build -race ${BUILD_OPTS}
fmt:
go fmt ${MOD} ${PKGS}
@@ -21,7 +21,7 @@ vet:
.PHONY: vet
test:
- go test ${PKGS} ${ARGS}
+ go test -race ${PKGS} ${ARGS}
.PHONY: test
${CSS}: static/peach.css