github.com/matrixorigin/matrixone@v1.2.0/pkg/frontend/test/Makefile (about)

     1  CURRENT_DIR = $(shell pwd)
     2  
     3  .PHONY: generate_mock
     4  generate_mock:
     5  	@go install github.com/golang/mock/mockgen@v1.6.0
     6  	@echo "Current Directory " $(CURRENT_DIR)
     7  	@mockgen -source ../../../pkg/txn/client/types.go -package mock_frontend > txn_mock.go
     8  	@mockgen -source ../../../pkg/vm/engine/types.go -package mock_frontend > engine_mock.go
     9  	@mockgen -source ../types.go -package mock_frontend > types_mock.go
    10