源战役
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
340 B

#!/usr/bin/env escript
%% -*- erlang -*-
%% @doc 配置检测脚本
-include("../include/common.hrl").
main(_) ->
io:setopts([{encoding, utf8}]),
code:add_path("../ebin/"),
case catch check:main([]) of
ok ->
halt(1);
Error ->
?PRINT("error data:~p~n", [Error]),
?ERR("error data:~p~n", [Error]),
halt(127)
end.