summaryrefslogtreecommitdiff
path: root/makerelease.erl
blob: 16e5f7f4622051187a4151da922ec7e2982df2af (plain)
1
2
3
4
5
6
7
#!/usr/bin/env escript
%% -*- erlang -*-

main([DestDir]) ->
    {ok, Conf} = file:consult("reltool.config"),
    {ok, Spec} = reltool:get_target_spec(Conf),
    ok = reltool:eval_target_spec(Spec, code:root_dir(), DestDir).