diff --git a/internal/db/Makefile b/internal/db/Makefile new file mode 100644 index 0000000000..fec9343978 --- /dev/null +++ b/internal/db/Makefile @@ -0,0 +1,12 @@ +# Determine this makefile's path. +# Be sure to place this BEFORE `include` directives, if any. +THIS_FILE := $(lastword $(MAKEFILE_LIST)) + + +### oplog requires protoc-gen-go v1.20.0 or later +# GO111MODULE=on go get -u google.golang.org/protobuf/cmd/protoc-gen-go@v1.20.1 +proto: + protoc --go_out=paths=source_relative:. ./db_test/db_test.proto + protoc-go-inject-tag -input=./db_test/db_test.pb.go + +.PHONY: proto \ No newline at end of file