From 72bcdaaf2555b5a16e481b3c2a9634a68a40a9a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=82=8B=E3=81=BF?= Date: Fri, 18 Feb 2022 14:24:38 +0800 Subject: [PATCH] Move pkg/proto to pkg/pb --- Makefile | 2 +- pkg/{protobuf => pb}/README.md | 0 pkg/{protobuf => pb}/bbgo.pb.go | 0 pkg/{protobuf => pb}/bbgo.proto | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename pkg/{protobuf => pb}/README.md (100%) rename pkg/{protobuf => pb}/bbgo.pb.go (100%) rename pkg/{protobuf => pb}/bbgo.proto (100%) diff --git a/Makefile b/Makefile index e6db3e129..5a6d59e1f 100644 --- a/Makefile +++ b/Makefile @@ -169,4 +169,4 @@ static: frontend/out/index.html pkg/server/assets.go .PHONY: bbgo bbgo-slim-darwin bbgo-slim-darwin-amd64 bbgo-slim-darwin-arm64 bbgo-darwin version dist pack migrations static embed desktop .FORCE protobuf: - protoc -I=$(PWD)/pkg/protobuf --go_out=$(PWD)/pkg/protobuf $(PWD)/pkg/protobuf/bbgo.proto + protoc -I=$(PWD)/pkg/pb --go_out=$(PWD)/pkg/pb $(PWD)/pkg/pb/bbgo.proto diff --git a/pkg/protobuf/README.md b/pkg/pb/README.md similarity index 100% rename from pkg/protobuf/README.md rename to pkg/pb/README.md diff --git a/pkg/protobuf/bbgo.pb.go b/pkg/pb/bbgo.pb.go similarity index 100% rename from pkg/protobuf/bbgo.pb.go rename to pkg/pb/bbgo.pb.go diff --git a/pkg/protobuf/bbgo.proto b/pkg/pb/bbgo.proto similarity index 100% rename from pkg/protobuf/bbgo.proto rename to pkg/pb/bbgo.proto