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

27 行
563 B

  1. -module(ct1_rt).
  2. -compile(export_all).
  3. files() ->
  4. [{create, "ebin/a1.app", app(a1)},
  5. {copy, "../../rebar", "rebar"},
  6. {copy, "test_SUITE.erl", "test/test_SUITE.erl"}].
  7. run(_Dir) ->
  8. {ok, _} = retest:sh("./rebar compile ct"),
  9. ok.
  10. %%
  11. %% Generate the contents of a simple .app file
  12. %%
  13. app(Name) ->
  14. App = {application, Name,
  15. [{description, atom_to_list(Name)},
  16. {vsn, "1"},
  17. {modules, []},
  18. {registered, []},
  19. {applications, [kernel, stdlib]}]},
  20. io_lib:format("~p.\n", [App]).