Skip to content

Commit e3c3bd3

Browse files
committed
add vendor Makefile rule
1 parent c33f98f commit e3c3bd3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ else
5959
go-junit-report --version
6060
endif
6161

62+
# download the dependencies and put them in the /vendor directory.
63+
.PHONY: vendor
64+
vendor:
65+
go mod tidy
66+
go mod vendor
67+
go mod verify
68+
6269
# Remove all build artifacts.
6370
#
6471
# Example:

0 commit comments

Comments
 (0)