File

squishy @ 165:e4391832be1e

clix: Read password from stdin if not available
author Kim Alvefur <zash@zash.se>
date Wed, 03 Aug 2022 03:01:26 +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"