@echo off
setlocal
title Build slave
if not exist %~dp0..\..\depot_tools\. (
  echo You must put a copy of depot_tools in %~dp0..\depot_tools
  goto :EOF
)
set PATH=%~dp0..\..\depot_tools;%PATH%
cd /d %~dp0
:: Running it once will make sure svn and python were downloaded.
call gclient.bat > nul
:: run_slave.py will overwrite the PATH and PYTHONPATH environment variables.
python %~dp0\run_slave.py --no_save -y buildbot.tac %*

@echo off
setlocal
title Build slave
if not exist %~dp0..\..\depot_tools\. (
  echo You must put a copy of depot_tools in %~dp0..\depot_tools
  goto :EOF
)
set PATH=%~dp0..\..\depot_tools;%PATH%
cd /d %~dp0
:: Running it once will make sure svn and python were downloaded.
call gclient.bat > nul
:: run_slave.py will overwrite the PATH and PYTHONPATH environment variables.
python %~dp0\run_slave.py --no_save -y buildbot.tac --logfile=twistd.log %*
Write twistd.log files on Windows
Write twistd.log files on Windows

That will simplify debugging Buildbot slave process on Windows, plus
will also enable sending those logs to the Cloud.

BUG=492404
R=dsansome@chromium.org, iannucci@chromium.org

Review URL: https://codereview.chromium.org/1415523007 .

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@297361 0039d316-1c4b-4281-b951-d872f2087c98
