anchor.diff:  
   msbuild /m %build-target% "/p:Configuration=%build-config%;Platform=%build-platform%" %2
   if not %errorlevel%==0 exit /b %errorlevel%
  -goto :eof
  -
  -
  -:_run-tests
  -rem // discover tests
  -set test-dlls-list=
  -set test-dlls-path=%build-root%\%~1\build\windows\%build-platform%\%build-config%
  -for /f %%i in ('dir /b %test-dlls-path%\*%~2*.dll') do set test-dlls-list="%test-dlls-path%\%%i" !test-dlls-list!
  -
  -if "%test-dlls-list%" equ "" (
  -    echo No unit tests found in %test-dlls-path%
  -    exit /b 1
  -)
  -
  -rem // run tests
  -echo Test DLLs: %test-dlls-list%
  -echo.
  -vstest.console.exe %test-dlls-list%
  -if not %errorlevel%==0 exit /b %errorlevel%
  -goto :eof
  +goto :eof
positive.code: if "%1" equ "--clean" goto arg-build-clean
  if "%1" equ "--config" goto arg-build-config
  if "%1" equ "--platform" goto arg-build-platform
  if "%1" equ "--skip-tests" goto arg-skip-tests
  if "%1" equ "--skip-e2e-tests" goto arg-skip-e2e-tests
  call :usage && exit /b 1
  
  :arg-build-clean
  
negative.code: call :_run-msbuild "Build" %1 %2 %3
  goto :eof
  
  :usage
  echo build.cmd [options]
  echo options:
  echo  -c, --clean           delete artifacts from previous build before building
  echo  --config ^<value^>      [Debug] build configuration (e.g. Debug, Release)
  echo  --platform ^<value^>    [Win32] build platform (e.g. Win32, x64, ...)
  echo  --run-e2e-tests       run end-to-end tests
  echo  --run-longhaul-tests  run long-haul tests
  goto :eof
  
  
  