summaryrefslogtreecommitdiff
path: root/inttest/rgen1/rgen1_rt.erl
blob: 68b6eaf8a821c98226861b19b02b8fca6dc7e4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-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.