Skip to content

Commit 84f68bd

Browse files
committed
update makefile
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 parent 6b873fd commit 84f68bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: basic.mk

+5-5
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ AUTHORS:
158158

159159
.PHONY: vendor
160160
vendor: ## Updates the vendoring directory.
161-
@$(RM) Gopkg.toml Gopkg.lock
162-
@$(RM) go.mod go.sum
161+
@$(RM) go.sum
163162
@$(RM) -r vendor
164-
@GO111MODULE=on $(GO) mod init
165-
@GO111MODULE=on $(GO) mod tidy
166-
@GO111MODULE=on $(GO) mod vendor
163+
GO111MODULE=on $(GO) mod init || true
164+
GO111MODULE=on $(GO) mod tidy
165+
GO111MODULE=on $(GO) mod vendor
166+
@$(RM) Gopkg.toml Gopkg.lock
167167

168168
.PHONY: clean
169169
clean: ## Cleanup any build binaries or packages.

0 commit comments

Comments
 (0)