This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git


The following commit(s) were added to refs/heads/main by this push:
     new c73beb5  Makefile: pick mockgen from env
c73beb5 is described below

commit c73beb5838082704d6d9e9346b97373f528a5bc0
Author: Rohit Yadav <[email protected]>
AuthorDate: Fri Oct 7 11:39:09 2022 +0530

    Makefile: pick mockgen from env
    
            go install github.com/golang/mock/[email protected]
            export PATH=$PATH:$(go env GOPATH)/bin
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 6911430..f69f7c3 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ mocks:
 test:
        go test -v github.com/apache/cloudstack-go/v2/test
 
-MOCKGEN ?= $(shell pwd)/bin/mockgen
+MOCKGEN := mockgen
 mockgen: ## Download conversion-gen locally if necessary.
        $(call go-get-tool,$(MOCKGEN),github.com/golang/mock/mockgen)
 

Reply via email to