rebar/inttest/rgen1/rgen1_rt.erl
2014-12-02 10:52:45 +01:00

20 lines
420 B
Erlang

%% -*- 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.