зеркало из https://github.com/Azure/ARO-RP.git
Merge pull request #3900 from Azure/kimorris27/hotfix-mockgen-codesign-issue-on-macos
Quickfix - codify solution to another `make generate` issue on MacOS
This commit is contained in:
Коммит
37e6171df9
4
Makefile
4
Makefile
|
@ -347,6 +347,10 @@ xmlcov: $(GOCOV) $(GOCOV_XML)
|
|||
.PHONY: install-tools
|
||||
install-tools: $(BINGO)
|
||||
$(BINGO) get -l
|
||||
# Fixes https://github.com/uber-go/mock/issues/185 for MacOS users
|
||||
ifeq ($(shell uname -s),Darwin)
|
||||
codesign -f -s - ${GOPATH}/bin/mockgen
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
# Containerized CI/CD RP
|
||||
|
|
Загрузка…
Ссылка в новой задаче