Skip to content

Commit

Permalink
make: Fix the vendor update target
Browse files Browse the repository at this point in the history
Need to ensure we download any updated vendor code
and pull the changes into our vendor path for check-in.

Signed-off-by: Mark D Horn <[email protected]>
  • Loading branch information
mdhorn committed Mar 30, 2020
1 parent 646db5a commit 9c308f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,10 @@ PHONY += vendor-update
vendor-update:
@for pkg in `go list -m all | cut -d" " -f1`; do \
if [ "$$pkg" != "github.com/clearlinux/clr-installer" ]; then \
go get -u $$pkg; \
GOFLAGS="" go get -u $$pkg; \
fi; \
done
@go mod vendor
@go mod tidy

PHONY += vendor-check
Expand Down

0 comments on commit 9c308f2

Please sign in to comment.