# HG changeset patch # User Kim Alvefur # Date 1340584570 -7200 # Node ID 1032eddcf35bd06ba14c13254c51482cee060b0f # Parent 0f69e1902f5b74ffa2b60c2014fadca71891fa61 squishy: see verse commit b5fd3292bdbd diff -r 0f69e1902f5b -r 1032eddcf35b squishy --- 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");