fb1c85a956
Upgrade our consul/api import to the equivelent of consul@v1.8.1 which includes a bug fix necessary for #6913. If consul would publish a proper api/ submodule tag we could reference that.
18 lines
377 B
Makefile
18 lines
377 B
Makefile
TEST?=./...
|
|
|
|
default: test
|
|
|
|
# test runs the test suite and vets the code
|
|
test:
|
|
go list $(TEST) | xargs -n1 go test -timeout=60s -parallel=10 $(TESTARGS)
|
|
|
|
# testrace runs the race checker
|
|
testrace:
|
|
go list $(TEST) | xargs -n1 go test -race $(TESTARGS)
|
|
|
|
# updatedeps installs all the dependencies to run and build
|
|
updatedeps:
|
|
go mod download
|
|
|
|
.PHONY: test testrace updatedeps
|