uglify/squish.uglify.lua

branch
lua5.2
changeset 96
7d6070e5a096
parent 92
55e927a6c228
equal deleted inserted replaced
95:828e814152e0 96:7d6070e5a096
11 if not infile then 11 if not infile then
12 print_err("Can't open input file for reading: "..tostring(err)); 12 print_err("Can't open input file for reading: "..tostring(err));
13 return; 13 return;
14 end 14 end
15 15
16 local outfile, err = io.open(outfile_fn..".uglified", "wb+"); 16 local outfile, err = io.open(outfile_fn..".uglified", "w+b");
17 if not outfile then 17 if not outfile then
18 print_err("Can't open output file for writing: "..tostring(err)); 18 print_err("Can't open output file for writing: "..tostring(err));
19 return; 19 return;
20 end 20 end
21 21

mercurial