File

squishy @ 106:c33848e79bfc

clix.adhoc: Run Ad-hoc commands
author Kim Alvefur <zash@zash.se>
date Fri, 15 Feb 2013 20:46:10 +0100
parent 102:16cdeb9cd879
child 107:67ff8f55db4a
line wrap: on
line source

local commands = {
	"send";
	"receive";
	"version";
	"ping";
	"bounce";
	"mirror";
	"raw";
	"roster";
	"export";
	"vcard";
	"publish_atom";
	"sendfile";
	"archive";
}

for _, cmd in ipairs(commands) do
	Module("clix."..cmd)("clix/"..cmd..".lua")
end

if GetOption "with-verse" then
	Module("verse")(GetOption "with-verse");
end

Main "clix.lua"

Option "executable"
Output "clix.bin"