unused target didn't trigger an error for unused packages (#4101)
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
This commit is contained in:
parent
416db814e8
commit
0b0c9f4b6b
|
@ -75,7 +75,7 @@ staticcheck: $(STATICCHECK)
|
|||
|
||||
unused: $(GOVENDOR)
|
||||
@echo ">> running check for unused packages"
|
||||
@$(GOVENDOR) list +unused
|
||||
@$(GOVENDOR) list +unused | grep . && exit 1 || echo 'No unused packages'
|
||||
|
||||
build: promu
|
||||
@echo ">> building binaries"
|
||||
|
|
Loading…
Reference in New Issue