File

squishy @ 170:0d561f921c13

clix.adhoc: Move stanza to dataform converter here Removes the need for verse to have a custom util.dataforms fork only for this
author Kim Alvefur <zash@zash.se>
date Sat, 24 Jun 2023 09:59:07 +0200
parent 160:6c1953fbe0fa
line wrap: on
line source

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

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"