Changeset

73:1032eddcf35b

squishy: see verse commit b5fd3292bdbd
author Kim Alvefur <zash@zash.se>
date Mon, 25 Jun 2012 02:36:10 +0200
parents 72:0f69e1902f5b
children 74:4b64a556a2cd
files squishy
diffstat 1 files changed, 15 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/squishy	Sun Feb 19 23:51:05 2012 +0100
+++ b/squishy	Mon Jun 25 02:36:10 2012 +0200
@@ -1,12 +1,18 @@
-Module "clix.send" "clix/send.lua"
-Module "clix.receive" "clix/receive.lua"
-Module "clix.version" "clix/version.lua"
-Module "clix.bounce" "clix/bounce.lua"
-Module "clix.mirror" "clix/mirror.lua"
-Module "clix.raw" "clix/raw.lua"
-Module "clix.roster" "clix/roster.lua"
-Module "clix.export" "clix/export.lua"
-Module "clix.vcard" "clix/vcard.lua"
+local commands = {
+	"send";
+	"receive";
+	"version";
+	"bounce";
+	"mirror";
+	"raw";
+	"roster";
+	"export";
+	"vcard";
+}
+
+for _, cmd in ipairs(commands) do
+	Module("clix."..cmd)("clix/"..cmd..".lua")
+end
 
 if GetOption "with-verse" then
 	Module("verse")(GetOption "with-verse");