From 22b60cc9ffd5721dee717398a3f7d9ad38b7647a Mon Sep 17 00:00:00 2001 From: Jim Lambert Date: Tue, 14 Apr 2020 14:37:31 -0400 Subject: [PATCH] db make --- internal/db/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 internal/db/Makefile 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