зеркало из https://github.com/microsoft/BuildXL.git
Merged PR 534479: Add helper to run analyzers quickly
Add helper to run analyzers quickly
This commit is contained in:
Родитель
de88cafa9d
Коммит
4979938103
|
@ -0,0 +1,29 @@
|
|||
@echo off
|
||||
echo Preparing to build.
|
||||
|
||||
call %~dp0\Init.cmd %*
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo %~dp0\Init.cmd FAILED: %ERRORLEVEL%
|
||||
exit /b %ERRORLEVEL%
|
||||
)
|
||||
|
||||
setlocal
|
||||
|
||||
set BxlAnalyzerPath=%BUILDXL_LKG%
|
||||
|
||||
if "%1" == "-usedev" (
|
||||
set BxlAnalyzerPath=%~dp0%..\..\out\selfhost\dev
|
||||
shift
|
||||
)
|
||||
|
||||
echo.
|
||||
REM Runing the XLG BuildXL analyzer: %BxlAnalyzerPath%\bxlanalyzer.exe
|
||||
echo.
|
||||
%BxlAnalyzerPath%\bxlanalyzer.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
exit /b %ERRORLEVEL%
|
||||
)
|
||||
|
||||
endlocal
|
||||
|
||||
exit /b 0
|
|
@ -0,0 +1,2 @@
|
|||
@call %~dp0Shared\Scripts\bxlanalyzer.cmd %*
|
||||
|
Загрузка…
Ссылка в новой задаче