mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
14
Src/external_dependencies/openmpt-trunk/include/premake/scripts/docscheck.lua
vendored
Normal file
14
Src/external_dependencies/openmpt-trunk/include/premake/scripts/docscheck.lua
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
-- 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)
|
Reference in New Issue
Block a user