summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-12-20 17:14:49 +0100
committerAlexander Harkness <bearbin@gmail.com>2013-12-20 17:14:49 +0100
commit675c35708b0c4657a98341d78ba7d9f06323d35d (patch)
treeb7870ed052b346dec41fbe1c134222fcac932eaf /MCServer/Plugins/APIDump
parentCreate a static folder for adding static files. (diff)
downloadcuberite-675c35708b0c4657a98341d78ba7d9f06323d35d.tar
cuberite-675c35708b0c4657a98341d78ba7d9f06323d35d.tar.gz
cuberite-675c35708b0c4657a98341d78ba7d9f06323d35d.tar.bz2
cuberite-675c35708b0c4657a98341d78ba7d9f06323d35d.tar.lz
cuberite-675c35708b0c4657a98341d78ba7d9f06323d35d.tar.xz
cuberite-675c35708b0c4657a98341d78ba7d9f06323d35d.tar.zst
cuberite-675c35708b0c4657a98341d78ba7d9f06323d35d.zip
Diffstat (limited to 'MCServer/Plugins/APIDump')
-rw-r--r--MCServer/Plugins/APIDump/main_APIDump.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua
index ec5569f55..676f4d9a6 100644
--- a/MCServer/Plugins/APIDump/main_APIDump.lua
+++ b/MCServer/Plugins/APIDump/main_APIDump.lua
@@ -231,6 +231,12 @@ end
function DumpAPIHtml()
+ LOG("Moving static files.");
+
+ for i in cFile:GetFolderContents("Static") do
+ cFile:Copy("Static/" .. i, "API/" .. i);
+ end
+
LOG("Dumping all available functions and constants to API subfolder...");
LOG("Creating API tables...");