summaryrefslogtreecommitdiff
path: root/makerelease.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-27 13:28:33 +0100
committerLinus Nordberg <linus@nordberg.se>2015-03-31 17:17:09 +0200
commit0d4846cd8d46c5d7710648a8a61e80c942a5a5ed (patch)
tree03030a7febf121d9387c5f60f325551706e1f8cc /makerelease.erl
parent07bbae40520a0fe5e893f73a29d785d2f3b59eed (diff)
Docker packaging.
Diffstat (limited to 'makerelease.erl')
-rwxr-xr-xmakerelease.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/makerelease.erl b/makerelease.erl
index f72fdb6..16e5f7f 100755
--- a/makerelease.erl
+++ b/makerelease.erl
@@ -1,7 +1,7 @@
#!/usr/bin/env escript
%% -*- erlang -*-
-main(_) ->
+main([DestDir]) ->
{ok, Conf} = file:consult("reltool.config"),
{ok, Spec} = reltool:get_target_spec(Conf),
- ok = reltool:eval_target_spec(Spec, code:root_dir(), "rel").
+ ok = reltool:eval_target_spec(Spec, code:root_dir(), DestDir).