squish.lua

changeset 13
b93f52cbe253
parent 11
10bb5834c6db
child 15
2aa02b99d2af
equal deleted inserted replaced
12:fb4ca0cc228e 13:b93f52cbe253
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";

mercurial