summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-08-24 00:44:37 -0500
committerJesse Luehrs <doy@tozt.net>2009-08-24 02:29:54 -0500
commit6f6b4ba91b35f8485c32e9a3ebdafe0c2b0d9f4f (patch)
treec05da195b2c7a3c164e5353441d72539278e256b
parentd23fc07e2c69e1c3a200092613e40b5e90f73f81 (diff)
downloadim-engine-plugin-commands-6f6b4ba91b35f8485c32e9a3ebdafe0c2b0d9f4f.tar.gz
im-engine-plugin-commands-6f6b4ba91b35f8485c32e9a3ebdafe0c2b0d9f4f.zip
add a testing script
-rw-r--r--bin/run21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/run b/bin/run
new file mode 100644
index 0000000..c3320ec
--- /dev/null
+++ b/bin/run
@@ -0,0 +1,21 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use lib 'lib';
+use IM::Engine;
+
+IM::Engine->new(
+ interface => {
+ protocol => 'REPL',
+ },
+ plugins => [
+ Commands => {
+ namespace => 'Bot::Games::Game',
+ exclude_commands => qr/Bot::Games::Game::Role/,
+ prefix => '@',
+ alias => {
+ sg => 'superghost',
+ },
+ },
+ ],
+)->run;