build.cmd 364 B

123456
  1. @ECHO OFF
  2. SETLOCAL
  3. PowerShell -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; try { & '%~dp0build.ps1' %*; exit $LASTEXITCODE } catch { write-host $_; exit 1 }"
  4. SET exit_code=%ERRORLEVEL%
  5. ECHO build.cmd completed
  6. EXIT /b %exit_code%