修改proto文件编译逻辑;修改status.proto导出包路径
This commit is contained in:
parent
237beec2bf
commit
6d3e7661e3
@ -26,7 +26,7 @@ func main() {
|
||||
{
|
||||
protocPath = filepath.Join(basePath, "protoc-23.1", "bin", "win64", "protoc")
|
||||
protoFolder = filepath.Join(basePath, "src", args[1])
|
||||
goOutDir = "../components"
|
||||
goOutDir = "../"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
syntax = "proto3";
|
||||
package cstate;
|
||||
option go_package = "./cstate";
|
||||
option go_package = "./components/cstate";
|
||||
|
||||
//仿真底层ecs组件相关定义
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user