8 lines
278 B
Batchfile
8 lines
278 B
Batchfile
@echo off
|
|
setlocal
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\package.ps1" %*
|
|
set "packageExit=%ERRORLEVEL%"
|
|
if not "%packageExit%"=="0" echo Packaging failed. See the error above.
|
|
if not "%LINKPORT_PACKAGE_NO_PAUSE%"=="1" pause
|
|
exit /b %packageExit%
|