phase 10
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: all frontend backend backend-epics backend-debug test lint clean run
|
||||
.PHONY: all frontend backend backend-epics backend-debug test bench race lint clean run
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
# Sources — adding any file here triggers a frontend or backend rebuild #
|
||||
@@ -62,6 +62,14 @@ backend-debug: $(FRONTEND_OUT)
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
# Run tests with the race detector enabled.
|
||||
race:
|
||||
go test -race ./...
|
||||
|
||||
# Run all benchmarks and print memory allocations.
|
||||
bench:
|
||||
go test -bench=. -benchmem -benchtime=3s ./internal/...
|
||||
|
||||
lint:
|
||||
go vet ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user