diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-22 10:22:46 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-22 10:22:46 +0100 |
commit | eac080c94d72a4c9a390fc582b804f35f9bae2ed (patch) | |
tree | ecfa328be392a9ff77e3b0ee6dbb897dd2c970ae | |
parent | First attempt at an automated nightbuild script (diff) | |
download | cuberite-eac080c94d72a4c9a390fc582b804f35f9bae2ed.tar cuberite-eac080c94d72a4c9a390fc582b804f35f9bae2ed.tar.gz cuberite-eac080c94d72a4c9a390fc582b804f35f9bae2ed.tar.bz2 cuberite-eac080c94d72a4c9a390fc582b804f35f9bae2ed.tar.lz cuberite-eac080c94d72a4c9a390fc582b804f35f9bae2ed.tar.xz cuberite-eac080c94d72a4c9a390fc582b804f35f9bae2ed.tar.zst cuberite-eac080c94d72a4c9a390fc582b804f35f9bae2ed.zip |
-rw-r--r-- | Nightbuild2008.cmd | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Nightbuild2008.cmd b/Nightbuild2008.cmd index a08e7ea99..a7a2cbc71 100644 --- a/Nightbuild2008.cmd +++ b/Nightbuild2008.cmd @@ -1,13 +1,13 @@ -rem @echo off
+@echo off
:: Nightbbuild2008.cmd
:: This script is run every night to produce a new version of MCServer, backup its PDB files and upload the packages to web.
:: These sub-scripts are used:
:: - WCRev.cmd together with subwcrev templating to obtain the version number as an environment var
-:: - UploadVersion.ftp FTP command template for uploading the version to the web (not included in the SVN, because it contains confidential passwords! Use your own)
+:: - UploadVersion.ftp FTP command template for uploading the version to the web (not included in the SVN, because it contains confidential passwords! Use your own :)
:: When run without parameters, this script pauses at the end and waits for a keypress.
:: To run in an automated scheduler, add any parameter to disable waiting for a keystroke
::
-:: This script expects a few tools on specific paths, you can pass the correct paths for your system as env vars "7z", "vc" and "tsvn"
+:: This script expects a few tools on specific paths, you can pass the correct paths for your system as env vars "zip", "vc" and "tsvn"
:: 7-zip executable (by default it should be on PATH):
@@ -25,6 +25,8 @@ if %subwcrev%a == a set subwcrev=subwcrev +echo Performing nightbuild of MC-Server
+
set DONOTPAUSE=y
@@ -45,6 +47,16 @@ call Install\WCVersion.cmd echo WCREV = %WCREV%
+:: Test if the version is already present
+if exist MCServer_Win_%WCREV%.7z (
+ echo Latest version already present, bailing out
+ goto end
+)
+
+
+
+
+:: Compile using VC2008 Express. Do a full rebuild.
echo Setting up VS environment...
call "%VS90COMNTOOLS%\vsvars32.bat"
echo Compiling MCServer...
|