Software /
code /
clix
Annotate
squishy @ 100:de5abce983d9
squish: Add presence command
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 30 Mar 2013 14:26:05 +0000 |
parent | 76:aa672fc46be1 |
child | 107:67ff8f55db4a |
child | 120:f1166645a56c |
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"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
3 "receive"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
4 "version"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
5 "bounce"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
6 "mirror"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
7 "raw"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
8 "roster"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
9 "export"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
10 "vcard"; |
74
4b64a556a2cd
squishy: Add publish_atom and sendfile
Kim Alvefur <zash@zash.se>
parents:
73
diff
changeset
|
11 "publish_atom"; |
4b64a556a2cd
squishy: Add publish_atom and sendfile
Kim Alvefur <zash@zash.se>
parents:
73
diff
changeset
|
12 "sendfile"; |
76 | 13 "archive"; |
100
de5abce983d9
squish: Add presence command
Matthew Wild <mwild1@gmail.com>
parents:
76
diff
changeset
|
14 "presence"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
15 } |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
16 |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
17 for _, cmd in ipairs(commands) do |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
18 Module("clix."..cmd)("clix/"..cmd..".lua") |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
19 end |
0 | 20 |
26
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
21 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
|
22 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
|
23 end |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
24 |
0 | 25 Main "clix.lua" |
1
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
26 |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
27 Option "executable" |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
28 Output "clix.bin" |