File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,12 @@ SHELL := /usr/bin/env bash -o pipefail ## Set the shell to use for finding Go fi
1111build : config # # Compile program (CGO disabled)
1212 CGO_ENABLED=0 $(GO_BIN ) build $(GO_ARGS ) ./cmd/fastly
1313
14- GO_BIN ?= go # # Allows overriding go executable.
15- TEST_COMMAND ?= $(GO_BIN ) test # # Enables support for tools such as https://github.com/rakyll/gotest
16- TEST_ARGS ?= -v -timeout 15m ./... # # The compute tests can sometimes exceed the default 10m limit
14+ # # Allows overriding go executable.
15+ GO_BIN ?= go
16+ # # Enables support for tools such as https://github.com/rakyll/gotest
17+ TEST_COMMAND ?= $(GO_BIN ) test
18+ # # The compute tests can sometimes exceed the default 10m limit
19+ TEST_ARGS ?= -v -timeout 15m ./...
1720
1821ifeq ($(OS ) , Windows_NT)
1922 SHELL = cmd.exe
@@ -82,7 +85,7 @@ revive: ## Run linter (using revive)
8285# Run security vulnerability checker.
8386.PHONY : gosec
8487gosec : # # Run security vulnerability checker
85- gosec -quiet -exclude=G104 ./{cmd,pkg}/...
88+ $( GO_BIN ) tool gosec -quiet -exclude=G104 ./{cmd,pkg}/...
8689
8790nilaway : # # Run nilaway
8891 @nilaway ./...
You can’t perform that action at this time.
0 commit comments