源战役
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
340 B

1 개월 전
  1. #!/usr/bin/env escript
  2. %% -*- erlang -*-
  3. %% @doc 配置检测脚本
  4. -include("../include/common.hrl").
  5. main(_) ->
  6. io:setopts([{encoding, utf8}]),
  7. code:add_path("../ebin/"),
  8. case catch check:main([]) of
  9. ok ->
  10. halt(1);
  11. Error ->
  12. ?PRINT("error data:~p~n", [Error]),
  13. ?ERR("error data:~p~n", [Error]),
  14. halt(127)
  15. end.