@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 %* |