summaryrefslogtreecommitdiffstats
path: root/MakeLuaAPI.cmd
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-06-30 09:51:19 +0200
committerMattes D <github@xoft.cz>2015-06-30 09:52:46 +0200
commitd646c81eb7e33970d75d8f143fcfb15cb581b9dc (patch)
tree9e266746c08968468ff9f18bb550d05cb61311db /MakeLuaAPI.cmd
parentFixed typos in the readme. (diff)
downloadcuberite-d646c81eb7e33970d75d8f143fcfb15cb581b9dc.tar
cuberite-d646c81eb7e33970d75d8f143fcfb15cb581b9dc.tar.gz
cuberite-d646c81eb7e33970d75d8f143fcfb15cb581b9dc.tar.bz2
cuberite-d646c81eb7e33970d75d8f143fcfb15cb581b9dc.tar.lz
cuberite-d646c81eb7e33970d75d8f143fcfb15cb581b9dc.tar.xz
cuberite-d646c81eb7e33970d75d8f143fcfb15cb581b9dc.tar.zst
cuberite-d646c81eb7e33970d75d8f143fcfb15cb581b9dc.zip
Diffstat (limited to '')
-rw-r--r--MakeLuaAPI.cmd66
1 files changed, 0 insertions, 66 deletions
diff --git a/MakeLuaAPI.cmd b/MakeLuaAPI.cmd
deleted file mode 100644
index 90b8cf53e..000000000
--- a/MakeLuaAPI.cmd
+++ /dev/null
@@ -1,66 +0,0 @@
-@echo off
-:: MakeLuaAPI.cmd
-:: This script is run after the nightbuild to produce the Lua API documentation and upload it to a website.
-:: It expects at least three environment variables set: ftpsite, ftpuser and ftppass, specifying the FTP site and login to use for the upload
-
-
-
-
-
-:: Check that we got all the environment vars needed for the upload:
-
-if "a%ftppass%" == "a" (
- echo You need to set FTP password in the ftppass environment variable to upload the files
- goto end
-)
-if "a%ftpuser%" == "a" (
- echo You need to set FTP username in the ftpuser environment variable to upload the files
- goto end
-)
-if "a%ftpsite%" == "a" (
- echo You need to set FTP server in the ftpsite environment variable to upload the files
- goto end
-)
-
-
-
-
-
-:: Create the API documentation by running the server and stopping it right after it starts:
-
-cd MCServer
-copy /Y settings_apidump.ini settings.ini
-echo api | MCServer
-cd ..
-
-
-
-
-
-:: Upload the API to the web:
-
-ncftpput -p %ftppass% -u %ftpuser% -T temp_ -R %ftpsite% /LuaAPI MCServer/API/*.*
-if errorlevel 1 goto haderror
-echo Upload finished.
-
-goto end
-
-
-
-
-
-:haderror
-echo an error was encountered, check command output above
-pause
-goto finished
-
-
-
-
-
-:end
-if "a%1" == "a" pause
-
-
-
-:finished \ No newline at end of file