mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
20 lines
420 B
Erlang
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.
|