Skip to content

Commit a9ada19

Browse files
committed
Makefile: add build_race command
1 parent 5d1264e commit a9ada19

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ all: build
22

33
.PHONY: build
44
build:
5-
go build -o tparallel ./cmd/tparallel/
5+
go build -o tparallel ./cmd/tparallel
6+
7+
.PHONY: build_race
8+
build_race:
9+
go build -race -o tparallel ./cmd/tparallel
610

711
.PHONY: test
8-
test:
12+
test: build_race
913
go test -v ./...

0 commit comments

Comments
 (0)