72 else |
72 else |
73 return function () end; |
73 return function () end; |
74 end |
74 end |
75 end |
75 end |
76 |
76 |
|
77 function GetOption(name) |
|
78 return opts[name:gsub('%-', '_')]; |
|
79 end |
|
80 |
77 -- -- -- -- -- -- -- --- -- -- -- -- -- -- -- -- |
81 -- -- -- -- -- -- -- --- -- -- -- -- -- -- -- -- |
78 |
82 |
79 base_path = (base_path or "."):gsub("/$", "").."/" |
83 base_path = (base_path or "."):gsub("/$", "").."/" |
80 squishy_file = base_path .. "squishy"; |
84 squishy_file = base_path .. "squishy"; |
81 out_fn = opts.output or "squished.out.lua"; |
85 out_fn = opts.output or "squished.out.lua"; |