mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 19:19:53 +00:00
19 lines
344 B
Erlang
19 lines
344 B
Erlang
|
-module(rgen1_rt).
|
||
|
|
||
|
-compile(export_all).
|
||
|
|
||
|
%% Exercise release generation w/ templating
|
||
|
|
||
|
files() ->
|
||
|
[
|
||
|
{copy, "reltool.config"},
|
||
|
{copy, "test.config"},
|
||
|
{copy, "vars.config"},
|
||
|
{copy, "../../rebar"}
|
||
|
].
|
||
|
|
||
|
run(_Dir) ->
|
||
|
{ok, _} = retest_sh:run("./rebar -v generate", []),
|
||
|
true = filelib:is_dir("mytarget"),
|
||
|
ok.
|