summaryrefslogtreecommitdiff
path: root/dev/make_boot_script
blob: 549dd9a07ee7d79afbad78b4651579643a5e7431 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env escript

main(_) ->
    {ok, Server} = reltool:start_server([
        {config, "../rel/reltool.config"}
    ]),
    {ok, Release} = reltool:get_rel(Server, "couchdb"),
    ok = file:write_file("devnode.rel", io_lib:format("~p.~n", [Release])),
    ok = systools:make_script("devnode", [local]).