mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
makefile编译客户端协议、生成服务器配置表 && docker镜像构建
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user