Split tidy into separate target

This allows `make vendor` to download packages to satisfy `go.mod`
without changing `go.mod`.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2023-10-08 01:01:13 -06:00
committed by Christian Goll
parent 78c8ad2b7c
commit 77f1bd6797

View File

@@ -12,9 +12,12 @@ docs: man_pages reference
.PHONY: vendor
vendor:
go mod tidy -v
go mod vendor
.PHONY: tidy
tidy:
go mod tidy
config = etc/wwapic.conf \
etc/wwapid.conf \
etc/wwapird.conf \