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:
Cosmin Cojocar
2019-04-25 09:31:00 +02:00
committed by Cosmin Cojocar
parent 85d180848d
commit ee73b9e94b
5 changed files with 16 additions and 219 deletions

View File

@@ -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