makefile编译客户端协议、生成服务器配置表 && docker镜像构建

This commit is contained in:
flswld
2023-01-19 23:05:10 +08:00
parent 2983c16272
commit cda96a81df
16 changed files with 217 additions and 114 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import (
)
func TestClientProtoGen(t *testing.T) {
dir, err := os.ReadDir("../proto")
dir, err := os.ReadDir("./proto")
if err != nil {
panic(err)
}
@@ -39,7 +39,7 @@ func TestClientProtoGen(t *testing.T) {
fileData += "\t}\n"
fileData += "}\n"
err = os.WriteFile("../client_proto_gen.go", []byte(fileData), 0644)
err = os.WriteFile("./client_proto_gen.go", []byte(fileData), 0644)
if err != nil {
panic(err)
}