summaryrefslogtreecommitdiff
path: root/makerelease.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-09-22 10:22:10 +0200
committerLinus Nordberg <linus@nordberg.se>2014-09-22 10:22:10 +0200
commit01e20019fa481190a0ac90622d95f214bb7ca755 (patch)
tree5cf904c36657520cc90c5d9f41eefcc51b149f8e /makerelease.erl
parent813cddd87ffa18ffdc3ff6df54377bb0590fc445 (diff)
parent90af53429cce94dee753441b780a9cf050f5fced (diff)
Merge branch 'map/releasemanagement' into master-origin
Conflicts: ebin/catlfish.app
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").