29 lines
649 B
Batchfile
29 lines
649 B
Batchfile
@echo off
|
|
set ROOT=%~dp0%
|
|
pushd "%ROOT%"
|
|
|
|
set PATH=%ROOT%..\..\bin;%PATH%
|
|
|
|
mkdir automate
|
|
mkdir chromium_git
|
|
mkdir depot_tools
|
|
|
|
wget --no-check-certificate https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py || goto :ERROR
|
|
move /y automate-git.py automate\ || goto :ERROR
|
|
del /q depot_tools.zip > NUL
|
|
wget --no-check-certificate https://storage.googleapis.com/chrome-infra/depot_tools.zip || goto :ERROR
|
|
unzip -o -q -d depot_tools\ depot_tools.zip || goto :ERROR
|
|
del /q depot_tools.zip || goto :ERROR
|
|
pushd depot_tools
|
|
call update_depot_tools.bat || goto :ERROR
|
|
popd
|
|
|
|
goto :END
|
|
|
|
:ERROR
|
|
pause
|
|
popd
|
|
exit 1
|
|
|
|
:END
|
|
popd |