From a93737b45902f0630b78710fcbb89c0e51aa7bad Mon Sep 17 00:00:00 2001 From: Matt Mullins Date: Sat, 21 May 2011 19:39:39 -0500 Subject: [PATCH] Added module version to core/config; also made it a new release. --- bot.rel | 4 ++-- core/config.erl | 1 + core/core.app | 2 +- core/core.appup | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 core/core.appup diff --git a/bot.rel b/bot.rel index a5e87d5..493b969 100644 --- a/bot.rel +++ b/bot.rel @@ -1,6 +1,6 @@ -{release, {"erlbot", "0"}, {erts, "5.8.3"}, +{release, {"erlbot", "1"}, {erts, "5.8.3"}, [{kernel, "2.14.3"}, {stdlib, "1.17.3"}, {sasl, "2.1.9.3"}, - {core, "1"}] + {core, "2"}] }. diff --git a/core/config.erl b/core/config.erl index 58f0b89..077e990 100644 --- a/core/config.erl +++ b/core/config.erl @@ -8,6 +8,7 @@ -module(config). -behavior(gen_server). +-vsn(1). % Public-facing functions -export([start_link/0, diff --git a/core/core.app b/core/core.app index 60f9022..18e6e8f 100644 --- a/core/core.app +++ b/core/core.app @@ -1,6 +1,6 @@ {application, core, [{description, "IRC bot core functionality"}, - {vsn, "1"}, + {vsn, "2"}, {modules, [core_app, core_sup, config]}, {registered, [config]}, {applications, []}, % also depends on kernel, stdlib diff --git a/core/core.appup b/core/core.appup new file mode 100644 index 0000000..cd9741d --- /dev/null +++ b/core/core.appup @@ -0,0 +1,3 @@ +{"2", + [{"1", [{load_module, config}]}], + [{"1", [{load_module, config}]}]}. -- 2.11.0