Changeset 4902 for trunk/tools/DailyBuild
- Timestamp:
- Jan 9, 2001, 7:44:07 PM (25 years ago)
- Location:
- trunk/tools/DailyBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/DailyBuild/odin32ftp2.cmd
r4882 r4902 1 /* $Id: odin32ftp2.cmd,v 1. 5 2001-01-08 19:51:59bird Exp $1 /* $Id: odin32ftp2.cmd,v 1.6 2001-01-09 18:44:07 bird Exp $ 2 2 * 3 3 * Uploads the relase and debug builds to the FTP sites. … … 19 19 sDelete = 'odin32bin-'|| DateSub(DATE('S'), 7); 20 20 sFileDbg = sFile || '-debug.zip'; 21 sFileGlideDbg = sFile || '-glide-debug.zip'; 21 22 sFileDbgWPI = sFile || '-debug.wpi'; 22 23 sDeleteDbg = sDelete || '-debug.zip'; 24 sDeleteGlideDbg = sDelete || '-glide-debug.zip'; 23 25 sDeleteDbgWPI = sDelete || '-debug.wpi'; 24 26 sFileRel = sFile || '-release.zip'; 27 sFileGlideRel = sFile || '-glide-release.zip'; 25 28 sFileRelWPI = sFile || '-release.wpi'; 26 29 sDeleteRel = sDelete || '-release.zip'; 30 sDeleteGlideRel = sDelete || '-glide-release.zip'; 27 31 sDeleteRelWPI = sDelete || '-release.wpi'; 28 32 sChangeLog = 'ChangeLog'; … … 36 40 * Put file to SourceForge. 37 41 */ 38 rc = putSF(sFileDbg, 'SF-debug'); 39 rc = putSF(sFileDbgWPI, 'SF-debug-wpi'); 40 rc = putSF(sFileRel, 'SF-release'); 41 rc = putSF(sFileRelWPI, 'SF-release-wpi'); 42 rc = putSF(sChangeLog, 'SF-ChangeLog'); 42 rc = putSF(sFileDbg, 'SF-debug'); 43 rc = putSF(sFileGlideDbg, 'SF-glide-debug'); 44 rc = putSF(sFileDbgWPI, 'SF-debug-wpi'); 45 rc = putSF(sFileRel, 'SF-release'); 46 rc = putSF(sFileGlideRel, 'SF-glide-release'); 47 rc = putSF(sFileRelWPI, 'SF-release-wpi'); 48 rc = putSF(sChangeLog, 'SF-ChangeLog'); 43 49 44 50 /* … … 49 55 rc = deletefunction( '/daily/'sDeleteDbg, '/daily/'sDeleteRel, 'os2-delete', 'www.os2.org'); 50 56 rc = deletefunction('/daily/'sDeleteDbgWPI, '/daily/'sDeleteRelWPI, 'os2-delete-wpi', 'www.os2.org'); 51 rc = forwardSF(sFileDbg, 'os2-debug', '/daily', 'www.os2.org'); 52 rc = forwardSF(sFileRel, 'os2-release', '/daily', 'www.os2.org'); 53 rc = forwardSF(sFileDbgWPI, 'os2-debug-wpi', '/daily', 'www.os2.org'); 54 rc = forwardSF(sFileRelWPI, 'os2-release-wpi', '/daily', 'www.os2.org'); 55 rc = forwardSF(sChangeLog, 'os2-ChangeLog', '/daily', 'www.os2.org'); 57 rc = forwardSF(sFileDbg, 'os2-debug', '/daily', 'www.os2.org'); 58 rc = forwardSF(sFileGlideDbg, 'os2-glide-debug', '/daily', 'www.os2.org'); 59 rc = forwardSF(sFileRel, 'os2-release', '/daily', 'www.os2.org'); 60 rc = forwardSF(sFileGlideRel, 'os2-glide-release', '/daily', 'www.os2.org'); 61 rc = forwardSF(sFileDbgWPI, 'os2-debug-wpi', '/daily', 'www.os2.org'); 62 rc = forwardSF(sFileRelWPI, 'os2-release-wpi', '/daily', 'www.os2.org'); 63 rc = forwardSF(sChangeLog, 'os2-ChangeLog', '/daily', 'www.os2.org'); 56 64 57 65 end … … 59 67 if (0 /*sLoc = '' | sLoc = 'netlabs'*/) then 60 68 do 61 /* ( sDeleteFile1, sDeleteFile2, sLockFile, sSite); */ 62 rc = deletefunction( '/odinftp/daily/'sDeleteDbg, '/odinftp/daily/'sDeleteRel, 'netlabs-delete', 'ftp.netlabs.org'); 63 rc = deletefunction('/odinftp/daily/'sDeleteDbgWPI, '/odinftp/daily/'sDeleteRelWPI, 'netlabs-delete-wpi', 'ftp.netlabs.org'); 64 /* (sFile, sFileRemote, sLockFile, sSite); */ 65 rc = putfunction(sFileDbg, '/odinftp/daily', 'netlabs-debug', 'ftp.netlabs.org'); 66 rc = putfunction(sFileRel, '/odinftp/daily', 'netlabs-release', 'ftp.netlabs.org'); 67 rc = putfunction(sFileDbgWPI, '/odinftp/daily', 'netlabs-debug', 'ftp.netlabs.org'); 68 rc = putfunction(sFileRelWPI, '/odinftp/daily', 'netlabs-release', 'ftp.netlabs.org'); 69 rc = putfunction('ChangeLog', '/odinftp/daily', 'netlabs-ChangeLog', 'ftp.netlabs.org'); 69 /* ( sDeleteFile1, sDeleteFile2, sLockFile, sSite); */ 70 rc = deletefunction( '/odinftp/daily/'sDeleteDbg, '/odinftp/daily/'sDeleteRel, 'netlabs-delete', 'ftp.netlabs.org'); 71 rc = deletefunction('/odinftp/daily/'sDeleteGlideDbg, '/odinftp/daily/'sDeleteGlideRel,'netlabs-delete-glide', 'ftp.netlabs.org'); 72 rc = deletefunction( '/odinftp/daily/'sDeleteDbgWPI, '/odinftp/daily/'sDeleteRelWPI, 'netlabs-delete-wpi', 'ftp.netlabs.org'); 73 /* (sFile, sFileRemote, sLockFile, sSite); */ 74 rc = putfunction(sFileDbg, '/odinftp/daily', 'netlabs-debug', 'ftp.netlabs.org'); 75 rc = putfunction(sFileGlideDbg, '/odinftp/daily', 'netlabs-debug', 'ftp.netlabs.org'); 76 rc = putfunction(sFileRel, '/odinftp/daily', 'netlabs-release', 'ftp.netlabs.org'); 77 rc = putfunction(sFileGlideRel, '/odinftp/daily', 'netlabs-release', 'ftp.netlabs.org'); 78 rc = putfunction(sFileDbgWPI, '/odinftp/daily', 'netlabs-debug', 'ftp.netlabs.org'); 79 rc = putfunction(sFileRelWPI, '/odinftp/daily', 'netlabs-release', 'ftp.netlabs.org'); 80 rc = putfunction('ChangeLog', '/odinftp/daily', 'netlabs-ChangeLog', 'ftp.netlabs.org'); 70 81 end 71 82 end -
trunk/tools/DailyBuild/odin32pack.cmd
r4883 r4902 1 /* $Id: odin32pack.cmd,v 1. 7 2001-01-08 19:54:22bird Exp $1 /* $Id: odin32pack.cmd,v 1.8 2001-01-09 18:43:19 bird Exp $ 2 2 * 3 3 * Make the two zip files. … … 24 24 call ChDir '..\..'; 25 25 26 26 27 /* 27 28 * Make .ZIP files. … … 29 30 call ChDir 'bin'; 30 31 call packdir 'debug', 'debug' 32 call packdir3dx 'debug', 'debug' 31 33 call packdir 'release', 'release' 34 call packdir3dx 'release', 'release' 32 35 call ChDir '..'; 33 36 … … 50 53 'del /Q /Y /Z /X .\glide\Voodoo1\CVS > nul 2>&1' 51 54 'del /Q /Y /Z /X .\glide\Voodoo2\CVS > nul 2>&1' 55 'del /Q /Y /Z /X .\Voodoo1\CVS > nul 2>&1' 56 'del /Q /Y /Z /X .\Voodoo1 > nul 2>&1' 57 'del /Q /Y /Z /X .\Voodoo2\CVS > nul 2>&1' 58 'del /Q /Y /Z /X .\Voodoo2 > nul 2>&1' 59 'rmdir .\Voodoo2 > nul 2>&1' 60 'rmdir .\Voodoo1 > nul 2>&1' 52 61 call copy '..\odin.ini' 53 62 call copy '..\..\doc\odin.ini.txt' … … 76 85 'ren ..\'||sDir '.\system32' 77 86 if (RC <> 0) then call failure rc, 'renaming' sDir'->system32 failed'; 87 'ren .\system32\glide ..\glide_tmp' 88 if (RC <> 0) then 89 do 90 'ren .\system32 ..\'||sDir 91 call failure rc, 'renaming system32\glide -> ..\glide_tmp failed'; 92 end 78 93 79 94 say 'zip -9 -R' sZipFile '* -xCVS'; … … 82 97 do 83 98 rc2 = rc; 99 'ren ..\glide_tmp .\system32\glide' 84 100 'ren .\system32 ..\'||sDir 85 101 call failure rc2, 'zip...'; 86 102 end 103 'ren ..\glide_tmp .\system32\glide' 104 if (RC <> 0) then call failure rc, 'renaming glide_tmp failed'; 87 105 'ren .\system32 ..\'||sDir 88 106 if (RC <> 0) then call failure rc, 'renaming' sDir'->system32 failed'; … … 91 109 call ChDir '..'; 92 110 return; 111 112 /* 113 * Pack the 3dx dlls. 114 */ 115 packdir3dx: procedure expose sStartDir; 116 parse arg sDir, sType; 117 sZipFile = filespec('path', directory())||'odin32bin-' || DATE(S) || '-glide-' || sType || '.zip'; 118 sDir = directory(); 119 120 call ChDir sDir 121 say 'zip -9 -R' sZipFile 'glide\* -xCVS'; 122 'zip -9 -R' sZipFile 'glide\* -xCVS'; 123 if (rc <> 0) then call failure rc, 'zip...'; 124 125 /* restore directory */ 126 call directory(sDir); 127 return; 128 93 129 94 130 /*
Note:
See TracChangeset
for help on using the changeset viewer.