summaryrefslogtreecommitdiff
path: root/inttest/code_path_no_recurse/code_path_no_recurse_rt.erl
blob: d884bcc13f55444cfd9d840e7792a4341a3e1429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-module(code_path_no_recurse_rt).
-export([files/0,
         run/1]).

files() ->
    [
     {copy, "../../rebar", "rebar"},
     {copy, "rebar.config", "rebar.config"},
     {copy, "src", "src"},
     {copy, "test", "test"},
     {copy, "deps", "deps"}
    ].

run(_Dir) ->
    retest:log(info, "Compile project~n"),
    {ok, _} = retest:sh("./rebar -v compile"),
    retest:log(info, "Run eunit with referenced deps on the code path~n"),
    {ok, _} = retest:sh("./rebar -v eunit"),
    ok.