選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

18 行
546 B

  1. -record(config, { dir,
  2. opts }).
  3. -record(global_state, { working_dir }).
  4. -define(FAIL, throw({error, failed})).
  5. -define(ABORT(Str, Args), rebar_utils:abort(Str, Args)).
  6. -define(CONSOLE(Str, Args), io:format(Str, Args)).
  7. -define(DEBUG(Str, Args), rebar_log:log(debug, Str, Args)).
  8. -define(INFO(Str, Args), rebar_log:log(info, Str, Args)).
  9. -define(WARN(Str, Args), rebar_log:log(warn, Str, Args)).
  10. -define(ERROR(Str, Args), rebar_log:log(error, Str, Args)).
  11. -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))).