Added module version to core/config; also made it a new release.
authorMatt Mullins <mmullins@mmlx.us>
Sun, 22 May 2011 00:39:39 +0000 (19:39 -0500)
committerMatt Mullins <mmullins@mmlx.us>
Sun, 22 May 2011 00:39:39 +0000 (19:39 -0500)
bot.rel
core/config.erl
core/core.app
core/core.appup [new file with mode: 0644]

diff --git a/bot.rel b/bot.rel
index a5e87d5..493b969 100644 (file)
--- 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"}]
 }.
index 58f0b89..077e990 100644 (file)
@@ -8,6 +8,7 @@
 
 -module(config).
 -behavior(gen_server).
+-vsn(1).
 
 % Public-facing functions
 -export([start_link/0,
index 60f9022..18e6e8f 100644 (file)
@@ -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 (file)
index 0000000..cd9741d
--- /dev/null
@@ -0,0 +1,3 @@
+{"2",
+ [{"1", [{load_module, config}]}],
+ [{"1", [{load_module, config}]}]}.