diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 17:14:49 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 17:14:49 +0100 |
commit | 675c35708b0c4657a98341d78ba7d9f06323d35d (patch) | |
tree | b7870ed052b346dec41fbe1c134222fcac932eaf /MCServer | |
parent | Create a static folder for adding static files. (diff) | |
download | cuberite-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')
-rw-r--r-- | MCServer/Plugins/APIDump/main_APIDump.lua | 6 |
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..."); |