Software /
code /
clix
File
squishy @ 168:75e8ca131178
Update to handle Prosody module namespacing
This enables installation methods other than squish, such as luarocks
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 26 May 2023 22:39:38 +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"