summaryrefslogtreecommitdiff
path: root/makerelease.erl
diff options
context:
space:
mode:
Diffstat (limited to 'makerelease.erl')
-rwxr-xr-xmakerelease.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/makerelease.erl b/makerelease.erl
new file mode 100755
index 0000000..f72fdb6
--- /dev/null
+++ b/makerelease.erl
@@ -0,0 +1,7 @@
+#!/usr/bin/env escript
+%% -*- erlang -*-
+
+main(_) ->
+ {ok, Conf} = file:consult("reltool.config"),
+ {ok, Spec} = reltool:get_target_spec(Conf),
+ ok = reltool:eval_target_spec(Spec, code:root_dir(), "rel").