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-27 13:28:33 +0100
commitc1826010cbed92cdacb0b12722e6c523f9a21284 (patch)
treefee0c78f3efe6acfdde84288b5b331b17ab227d9 /makerelease.erl
parent6cd3c80c61711cabf9e308da1963b56f6dd49cfd (diff)
WIP
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..898dab7 100755
--- a/makerelease.erl
+++ b/makerelease.erl
@@ -1,7 +1,7 @@
#!/usr/bin/env escript
%% -*- erlang -*-
-main(_) ->
+main([dest_dir]) ->
{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(), dest_dir).