rebar/inttest/rgen1/rgen1_rt.erl

21 lines
420 B
Erlang
Raw Normal View History

%% -*- erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
-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.