File

squishy @ 108:ded3938232f0

clix.roster: Add a sub-command that exports a prosody-style roster data structure
author Kim Alvefur <zash@zash.se>
date Mon, 01 Apr 2013 21:25:31 +0200
parent 107:67ff8f55db4a
child 122:1dfd28db10bd
line wrap: on
line source

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

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"