mirror of
https://github.com/securego/gosec.git
synced 2026-01-15 01:33:41 +08:00
Remove dep and Use only Go modules to manage dependencies
Update the depenendencies to latest versions Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
committed by
Cosmin Cojocar
parent
85d180848d
commit
ee73b9e94b
10
Makefile
10
Makefile
@@ -6,13 +6,9 @@ BUILDFLAGS := ''
|
||||
CGO_ENABLED = 0
|
||||
|
||||
default:
|
||||
$(MAKE) bootstrap
|
||||
$(MAKE) build
|
||||
|
||||
bootstrap:
|
||||
dep ensure
|
||||
|
||||
test: bootstrap
|
||||
test:
|
||||
test -z '$(FMT_CMD)'
|
||||
go vet $(go list ./... | grep -v /vendor/)
|
||||
golint -set_exit_status $(shell go list ./... | grep -v vendor)
|
||||
@@ -27,9 +23,9 @@ build:
|
||||
|
||||
clean:
|
||||
rm -rf build vendor dist
|
||||
rm -f release image bootstrap $(BIN)
|
||||
rm -f release image $(BIN)
|
||||
|
||||
release: bootstrap
|
||||
release:
|
||||
@echo "Releasing the gosec binary..."
|
||||
goreleaser release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user