File

squishy @ 171:eb7625161d76

clix.lua: Read resouce from config file.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Fri, 07 Jul 2023 22:11:47 +0700
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"