rebar3 服务器

This commit is contained in:
lwt
2026-05-19 11:30:21 +08:00
parent aeb18acee0
commit 03fd2da480
5187 changed files with 3670646 additions and 0 deletions
@@ -0,0 +1,14 @@
#!/usr/bin/env escript
%%! -noshell
main(_) ->
Files = filelib:wildcard("apps/game_server/cache_recovered_grouped/*.table"),
Bad = [{F, E} || F <- Files, {error, E} <- [file:consult(F)]],
io:format("files=~p bad_count=~p~n", [length(Files), length(Bad)]),
case Bad of
[] ->
halt(0);
_ ->
io:format("~p~n", [Bad]),
halt(1)
end.