Skip to content

Commit e456e3e

Browse files
committed
[no-relnote] Improve check vendor target
Signed-off-by: Evan Lezar <[email protected]>
1 parent 0e91ba7 commit e456e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ mod-verify:
104104

105105
mod-vendor: mod-tidy
106106
@for mod in $$(find . -name go.mod -not -path "./deployments/*"); do \
107-
echo "Verifying $$mod..."; ( \
107+
echo "Vendoring $$mod..."; ( \
108108
cd $$(dirname $$mod) && go mod vendor \
109109
) || exit 1; \
110110
done
111111

112112
vendor: mod-vendor
113113

114-
check-modules: vendor
114+
check-modules: | mod-tidy mod-verify mod-vendor
115115
git diff --quiet HEAD -- $$(find . -name go.mod -o -name go.sum -o -name vendor)
116116

117117
COVERAGE_FILE := coverage.out

0 commit comments

Comments
 (0)