commit
7edad97205
1
MCServer/Plugins/APIDump/Static/.gitignore
vendored
Normal file
1
MCServer/Plugins/APIDump/Static/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
-- main.lua
|
-- main.lua
|
||||||
|
|
||||||
-- Implements the plugin entrypoint (in this case the entire plugin)
|
-- Implements the plugin entrypoint (in this case the entire plugin)
|
||||||
@ -232,6 +231,12 @@ end
|
|||||||
|
|
||||||
function DumpAPIHtml()
|
function DumpAPIHtml()
|
||||||
LOG("Dumping all available functions and constants to API subfolder...");
|
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...");
|
LOG("Creating API tables...");
|
||||||
local API, Globals = CreateAPITables();
|
local API, Globals = CreateAPITables();
|
||||||
|
Loading…
Reference in New Issue
Block a user