Skip to content

Commit

Permalink
Rename gas to gosec (#946)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vprithvi authored and yurishkuro committed Jul 19, 2018
1 parent 0a40309 commit 214c133
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) | \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 214c133

Please sign in to comment.