From: Matt Mullins Date: Sun, 22 May 2011 00:39:39 +0000 (-0500) Subject: Added module version to core/config; also made it a new release. X-Git-Tag: v4~9 X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=a93737b45902f0630b78710fcbb89c0e51aa7bad;p=erlbot.git Added module version to core/config; also made it a new release. --- 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}]}]}.