diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-12-26 16:38:29 -0500 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-12-26 16:38:29 -0500 |
commit | a19eb2afbd4c87f7361942eedd7bdc80f3e225cf (patch) | |
tree | 26bd6a37866a5f3172843ed228f158909e74004b | |
parent | 1d6075cae96d80908924362567748d550603ec61 (diff) |
Makefile: update `peach` and `test` targets
Build and test with `-race` flag on.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |