#!/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).