summaryrefslogtreecommitdiff
path: root/makerelease.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-09-19 18:25:53 +0200
committerMagnus Ahltorp <map@kth.se>2014-09-22 10:36:45 +0200
commit0622260ab677493128e13a98959f69735e6fdd29 (patch)
tree30f2ef2f826a7ceca83002a7b1628c5b0c81374a /makerelease.erl
parent813cddd87ffa18ffdc3ff6df54377bb0590fc445 (diff)
Release management
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").