aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 18:16:47 -0400
committerhistoria <[not public]>2026-10-05 18:16:47 -0400
commit9d8c43cd68c960b9a6b8f781684f763e204a4498 (patch)
treec9e2a02094a8700db29db2768a0d058ce259a4f4 /Makefile
parent7a15a5d70004b28bf2a710fa0f536af2446e5b17 (diff)
downloadthehouseoficarus-9d8c43cd68c960b9a6b8f781684f763e204a4498.tar.gz
fix: shared YAML encoder and journal directory, text cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7fbab5c..98c4805 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: build run test vet lint clean
+.PHONY: build run test test-race vet lint clean
BINARY=thoi
DATA_DIR=$(PWD)/data
@@ -12,6 +12,10 @@ run: build
test:
DATA_DIR=$(DATA_DIR) go test ./... -timeout 60s
+# Race suite: the concurrency tests are only meaningful with -race.
+test-race:
+ DATA_DIR=$(DATA_DIR) go test -race ./... -timeout 300s
+
vet:
go vet ./...