LO1ZB: This is the contents of the .cmd file that runs the nightbuild on my computer (one that's in the task scheduler):
You should be able to adapt that to your needs. If you want to build with MSVC higher than 2008, you should probably make a copy of the NightBuild2008.cmd script and change it to use whatever visual studio you're using. Read the comments at the top of the file, they list all the prerequisites for a successful run.
Note that if you provide builds publicly, you should also store those builds' symbols (PDB files), so that the developers can debug crashdumps.
I've been thinking about turning the entire nightbuild script into a Lua script, so that I have more options on what it could do. This will become necessary when we get a proper nightbuild website.
Code:
set ftpuser=<redacted>
set ftppass=<redacted>
set ftpsite=<redacted>
set nodosfilewarning=1
call NightBuild2008.cmd a
call MakeLuaAPI.cmd a
Note that if you provide builds publicly, you should also store those builds' symbols (PDB files), so that the developers can debug crashdumps.
I've been thinking about turning the entire nightbuild script into a Lua script, so that I have more options on what it could do. This will become necessary when we get a proper nightbuild website.