5 # test runs the test suite and vets the code.
7 @echo "==> Running tests..."
10 | xargs -n1 go test -timeout=60s -parallel=10 ${TESTARGS}
12 # testrace runs the race checker
14 @echo "==> Running tests (race)..."
16 | grep -v "/vendor/" \
17 | xargs -n1 go test -timeout=60s -race ${TESTARGS}
19 # updatedeps installs all the dependencies needed to run and build.
21 @sh -c "'${CURDIR}/scripts/deps.sh' '${NAME}'"
23 # generate runs `go generate` to build the dynamically generated source files.
25 @echo "==> Generating..."
26 @find . -type f -name '.DS_Store' -delete
28 | grep -v "/vendor/" \
29 | xargs -n1 go generate
31 .PHONY: default test testrace updatedeps generate