Skip to content

Commit

Permalink
Add target for gosec in makefile
Browse files Browse the repository at this point in the history
Fixes: #563
  • Loading branch information
praveenkumar committed Sep 13, 2019
1 parent ea4f473 commit 62e98c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ $(GOPATH)/bin/golangci-lint:
lint: $(GOPATH)/bin/golangci-lint
$(GOPATH)/bin/golangci-lint run

$(GOPATH)/bin/gosec:
GO111MODULE=on go get github.com/securego/gosec/cmd/gosec@2.0.0

# Run gosec against code
gosec: $(GOPATH)/bin/gosec
$(GOPATH)/bin/gosec -tests -severity medium ./...

.PHONY: release
release: fmtcheck embed_bundle build_docs_pdf
mkdir $(RELEASE_DIR)
Expand Down

0 comments on commit 62e98c4

Please sign in to comment.