doc: Add logging to _postprocess.lua.

Try to find why it works locally, but not on GitHub.
This commit is contained in:
Emmanuel Lepage Vallee 2022-08-27 17:08:03 -07:00
parent 4ff17396b6
commit fc95f43bde
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,13 @@
local input, output = ...
if (not input) or (not output) then
io.stderr:write("_postprocess.lua require <input> and <output>\n")
io.stderr:write("Got input: "..tostring(input).."\n")
io.stderr:write("Got output: "..tostring(output).."\n")
os.exit(0)
end
-- The second 24bit is just the 32 bit converted to #010001 and back.
local FOREGROUNDS = {
"rgb[(]0[.]5%%,0%%,0[.]5%%[)];",