- Timestamp:
- 2014-08-22T17:04:47+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/expeditee-release-kits/create-expeditee.bat
r29230 r29232 1 1 @echo off 2 ::call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd" 3 ::call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" 2 setlocal 3 4 :: currentdir (C:\Research\Nightly) 5 set currentdir=%CD% 4 6 5 7 :: Need to edit rke-setup.bat and fill it in with local env vars values 6 if not exist C:\Research\Nightly\tools\expeditee-release-kits\rke-setup.bat (8 if not exist %currentdir%\tools\expeditee-release-kits\rke-setup.bat ( 7 9 echo. 8 10 echo ******************* 9 11 echo. 10 echo First edit C:\Research\Nightly\tools\expeditee-release-kits\rke-setup.bat.in11 echo to generate C:\Research\Nightly\tools\expeditee-release-kits\rke-setup.bat12 echo First edit %currentdir%\tools\expeditee-release-kits\rke-setup.bat.in 13 echo to generate %currentdir%\tools\expeditee-release-kits\rke-setup.bat 12 14 echo. 13 15 echo ******************* … … 18 20 :: rke-setup.bat uses local paths, so cd into expeditee-release-kits first 19 21 :: then call rke-setup.bat to source the environment vars it sets 20 pushd C:\Research\Nightly\tools\expeditee-release-kits22 pushd %currentdir%\tools\expeditee-release-kits 21 23 call rke-setup.bat 24 if ERRORLEVEL 1 ( 25 echo error level 1 or more 26 popd 27 exit /B 1 28 ) 22 29 popd 23 30 … … 25 32 :: Make sure the expeditee folder and its rke-build.properties file exist 26 33 :: Then run the 'rke' command from snapshots\expeditee 27 pushd C:\Research\Nightly\snapshots34 pushd %currentdir%\snapshots 28 35 ::http://www.robvanderwoude.com/battech_ifexistfolder.php 29 36 if not exist expeditee\ mkdir expeditee 30 37 if not exist expeditee\rke-build.properties copy C:\Research\Nightly\tools\expeditee-release-kits\rke-build.properties.in expeditee\rke-build.properties 31 cd expeditee38 pushd expeditee 32 39 rke 33 popd 40 :: It doesn't reach here for some reason 41 ::popd 42 ::cd %currentdir% 43 ::echo ************** HERE I AM 34 44 35 45 :end 46 endlocal
Note:
See TracChangeset
for help on using the changeset viewer.