1
0

Merge pull request from mc-server/apidumpe

Fix issue 
This commit is contained in:
Alexander Harkness 2013-12-20 09:12:49 -08:00
commit 7edad97205
2 changed files with 7 additions and 1 deletions
MCServer/Plugins/APIDump

@ -0,0 +1 @@

@ -1,4 +1,3 @@
-- main.lua
-- Implements the plugin entrypoint (in this case the entire plugin)
@ -233,6 +232,12 @@ end
function DumpAPIHtml()
LOG("Dumping all available functions and constants to API subfolder...");
LOG("Moving static files..");
local localFolder = g_Plugin:GetLocalFolder();
for k, v in cFile:GetFolderContents(localFolder .. "/Static") do
cFile:Copy(localFolder .. "/Static/" .. v, "API/" .. v);
end
LOG("Creating API tables...");
local API, Globals = CreateAPITables();
local Hooks = {};