mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
* Initial 1.19 xcopy * Fix yarn build * Fix numerous build breaks * Next batch of build break fixes * More build break fixes * Runtime breaks * Additional post merge fixes * Fix windows setup file * Fix test failures. * Update license header blocks to refer to source eula
26 lines
507 B
Batchfile
26 lines
507 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
set ELECTRON_RUN_AS_NODE=1
|
|
|
|
pushd %~dp0\..
|
|
|
|
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
|
|
set NAMESHORT=%NAMESHORT: "=%
|
|
set NAMESHORT=%NAMESHORT:"=%.exe
|
|
set CODE=".build\electron\%NAMESHORT%"
|
|
|
|
rem TFS Builds
|
|
if not "%BUILD_BUILDID%" == "" (
|
|
%CODE% .\node_modules\mocha\bin\_mocha %*
|
|
)
|
|
|
|
rem Otherwise
|
|
if "%BUILD_BUILDID%" == "" (
|
|
%CODE% .\node_modules\mocha\bin\_mocha --reporter dot %*
|
|
)
|
|
popd
|
|
|
|
endlocal
|
|
exit /b %errorlevel%
|