From 7c70e38367c0a3b12d36106270af7d99faf19ad1 Mon Sep 17 00:00:00 2001 From: "zhuzhenfeng.code" Date: Wed, 5 Oct 2022 22:04:48 +0800 Subject: [PATCH] make it to go install for nancy Change-Id: I72f57bf81c73201e4b45f71bddcd90bba96727f4 --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8e401009..57bb4915 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ tools: ${BIN} install github.com/jondot/goweight@latest ${BIN} install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ${BIN} get -t -u golang.org/x/tools/cmd/cover - ${BIN} get -t -u github.com/sonatype-nexus-community/nancy@latest + ${BIN} install github.com/sonatype-nexus-community/nancy@latest go mod tidy lint: @@ -35,11 +35,9 @@ lint-fix: golangci-lint run --timeout 60s --max-same-issues 50 --fix ./... audit: tools - ${BIN} mod tidy ${BIN} list -json -m all | nancy sleuth outdated: tools - ${BIN} mod tidy ${BIN} list -u -m -json all | go-mod-outdated -update -direct weight: tools