winamp/Src/external_dependencies/openmpt-trunk/include/premake/scripts/docscheck.lua

14 lines
331 B
Lua
Raw Normal View History

2024-09-24 08:54:57 -04:00
---
-- Validate documentation for Premkake APIs.
---
local count = 0
for k,v in pairs(premake.field._loweredList) do
local docfilepath = "../website/docs/" .. k .. ".md"
local exists = os.isfile(docfilepath)
if not exists then
print("Missing documentation file for: ", k)
count = count + 1
end
end
os.exit(count)