diff --git a/run_all_server.sh b/run_all_server.sh index afc602ba..9e005b95 100755 --- a/run_all_server.sh +++ b/run_all_server.sh @@ -20,7 +20,7 @@ run_server() { fi # 导航到相应的目录 cd server/$server_name - go build -linkshared + go build [ -f .gitignore ] || echo $server_name > .gitignore # 使用 screen 运行 go run .go