Software /
code /
clix
Annotate
squishy @ 123:c61fadb9d4fa
clix.roster: Print error resplies
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 21 Mar 2016 16:06:14 +0100 |
parent | 122:1dfd28db10bd |
child | 139:6909e479c56b |
rev | line source |
---|---|
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
1 local commands = { |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
2 "send"; |
120 | 3 "sendfilecontent"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
4 "receive"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
5 "version"; |
102
16cdeb9cd879
Add clix module to send XMPP pings to JIDs
"Georg Lukas <georg@op-co.de>"
parents:
76
diff
changeset
|
6 "ping"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
7 "bounce"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
8 "mirror"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
9 "raw"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
10 "roster"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
11 "export"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
12 "vcard"; |
74
4b64a556a2cd
squishy: Add publish_atom and sendfile
Kim Alvefur <zash@zash.se>
parents:
73
diff
changeset
|
13 "publish_atom"; |
4b64a556a2cd
squishy: Add publish_atom and sendfile
Kim Alvefur <zash@zash.se>
parents:
73
diff
changeset
|
14 "sendfile"; |
76 | 15 "archive"; |
100
de5abce983d9
squish: Add presence command
Matthew Wild <mwild1@gmail.com>
parents:
76
diff
changeset
|
16 "presence"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
17 } |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
18 |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
19 for _, cmd in ipairs(commands) do |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
20 Module("clix."..cmd)("clix/"..cmd..".lua") |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
21 end |
0 | 22 |
26
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
23 if GetOption "with-verse" then |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
24 Module("verse")(GetOption "with-verse"); |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
25 end |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
26 |
0 | 27 Main "clix.lua" |
1
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
28 |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
29 Option "executable" |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
30 Output "clix.bin" |