github.com/matrixorigin/matrixone@v1.2.0/pkg/sql/plan/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/sql/plan/types.go -package plan -mock_names CompilerContext=MockCompilerContext2,Optimizer=MockOptimizer2 > types_mock.go 8