Skip to content

Commit

Permalink
add in-container vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelStuchly committed Apr 7, 2021
1 parent 0f31bd7 commit 23c11c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ endif

.PHONY: vendor
vendor:
go mod tidy
go mod vendor
go mod verify

$(DOCKER_CMD) hack/go-mod.sh
.PHONY: generate
generate: gogen goimports

Expand Down
4 changes: 4 additions & 0 deletions hack/go-mod.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
go mod tidy
go mod vendor
go mod verify

0 comments on commit 23c11c3

Please sign in to comment.