Annotate

squishy @ 82:30f85754b1e0

clix.lua: add -i for --interactive
author Kim Alvefur <zash@zash.se>
date Thu, 28 Jun 2012 14:40:36 +0200
parent 76:aa672fc46be1
child 100:de5abce983d9
child 102:16cdeb9cd879
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
aa672fc46be1 squishy: Add clix.archive
Kim Alvefur <zash@zash.se>
parents: 74
diff changeset
13 "archive";
73
1032eddcf35b squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents: 64
diff changeset
14 }
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 for _, cmd in ipairs(commands) do
1032eddcf35b squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents: 64
diff changeset
17 Module("clix."..cmd)("clix/"..cmd..".lua")
1032eddcf35b squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents: 64
diff changeset
18 end
0
ae83411a89c9 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19
26
028c5ffc6d7c squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents: 16
diff changeset
20 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
21 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
22 end
028c5ffc6d7c squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents: 16
diff changeset
23
0
ae83411a89c9 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
24 Main "clix.lua"
1
58c694492459 squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents: 0
diff changeset
25
58c694492459 squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents: 0
diff changeset
26 Option "executable"
58c694492459 squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents: 0
diff changeset
27 Output "clix.bin"