squish.lua

changeset 90
b9470a7655b4
parent 89
23dbca856f92
child 91
4608c7c025e5
equal deleted inserted replaced
89:23dbca856f92 90:b9470a7655b4
191 else 191 else
192 -- Strip base_path from resolved path 192 -- Strip base_path from resolved path
193 module.path = module.path:gsub("^"..base_path:gsub("%p", "%%%1"), ""); 193 module.path = module.path:gsub("^"..base_path:gsub("%p", "%%%1"), "");
194 end 194 end
195 end 195 end
196 end
197 end
198
199 for _, module in ipairs(modules) do
200 if not module.path then
201 print_err("Exiting due to missing modules without a path");
202 os.exit(1);
196 end 203 end
197 end 204 end
198 205
199 if opts.list_files then 206 if opts.list_files then
200 local function write(text) 207 local function write(text)

mercurial