| 1 | local commands = { |
| 2 | "send"; |
| 3 | "sendfilecontent"; |
| 4 | "receive"; |
| 5 | "version"; |
| 6 | "ping"; |
| 7 | "bounce"; |
| 8 | "mirror"; |
| 9 | "raw"; |
| 10 | "roster"; |
| 11 | "export"; |
| 12 | "vcard"; |
| 13 | "publish_atom"; |
| 14 | "sendfile"; |
| 15 | "archive"; |
| 16 | "presence"; |
| 17 | "watch_pep"; |
| 18 | "avatar"; |
| 19 | "moderate"; |
| 20 | } |
| 21 | |
| 22 | for _, cmd in ipairs(commands) do |
| 23 | Module("clix."..cmd)("clix/"..cmd..".lua") |
| 24 | end |
| 25 | |
| 26 | if GetOption "with-verse" then |
| 27 | Module("verse")(GetOption "with-verse"); |
| 28 | end |
| 29 | |
| 30 | Main "clix.lua" |
| 31 | |
| 32 | Option "executable" |
| 33 | Output "clix.bin" |