From 214c133b2df647618a2c8a5094f4f24a7cc6c60e Mon Sep 17 00:00:00 2001 From: Prithvi Raj Date: Thu, 19 Jul 2018 14:58:47 -0400 Subject: [PATCH] Rename gas to gosec (#946) GoASTScanner/gas was renamed to gosec in securego/gosec#216 causing our builds to break. This commit renames gas to gosec to fix builds. Resolves #945 Signed-off-by: Prithvi Raj --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 3242773f309..c31993037e9 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ GOTEST=go test -v $(RACE) GOLINT=golint GOVET=go vet GOFMT=gofmt -GAS=gas -quiet -exclude=G104 +GOSEC=gosec -quiet -exclude=G104 FMT_LOG=fmt.log LINT_LOG=lint.log IMPORT_LOG=import.log @@ -125,12 +125,12 @@ fmt: $(GOFMT) -e -s -l -w $(ALL_SRC) ./scripts/updateLicenses.sh -.PHONY: lint-gas -lint-gas: - $(GAS) $(TOP_PKGS) +.PHONY: lint-gosec +lint-gosec: + $(GOSEC) $(TOP_PKGS) .PHONY: lint -lint: lint-gas +lint: lint-gosec $(GOVET) $(TOP_PKGS) @cat /dev/null > $(LINT_LOG) $(GOLINT) $(TOP_PKGS) | \ @@ -272,7 +272,7 @@ install-tools: go get golang.org/x/tools/cmd/cover go get github.com/golang/lint/golint go get github.com/sectioneight/md-to-godoc - go get github.com/GoASTScanner/gas/cmd/gas/... + go get github.com/securego/gosec/cmd/gosec/... .PHONY: install-ci install-ci: install install-tools