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-19 18:25:53 +0200
commit90af53429cce94dee753441b780a9cf050f5fced (patch)
treeed3859b9d4d18f407e17bd19dcac0d5f563f16d2 /makerelease.erl
parentb9dfa6adff4fbfd68b7a3d7477f0f410e8620e15 (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").