Software /
code /
clix
Annotate
squishy @ 157:aa0f11fb166c
clix.avatar: Publish and fetch XEP-0084 Avatars
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 18 Apr 2021 23:36:18 +0200 |
parent | 139:6909e479c56b |
child | 160:6c1953fbe0fa |
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"; |
139
6909e479c56b
clix.watch_pep: Subscribe to a PEP node
Kim Alvefur <zash@zash.se>
parents:
122
diff
changeset
|
17 "watch_pep"; |
157
aa0f11fb166c
clix.avatar: Publish and fetch XEP-0084 Avatars
Kim Alvefur <zash@zash.se>
parents:
139
diff
changeset
|
18 "avatar"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
19 } |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
20 |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
21 for _, cmd in ipairs(commands) do |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
22 Module("clix."..cmd)("clix/"..cmd..".lua") |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
23 end |
0 | 24 |
26
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
25 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
|
26 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
|
27 end |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
28 |
0 | 29 Main "clix.lua" |
1
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
30 |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
31 Option "executable" |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
32 Output "clix.bin" |