mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
build-deps - add some logs to make errors easier to narrow donw
This commit is contained in:
+3
-1
@@ -768,7 +768,7 @@ echo.
|
|||||||
call :PrintUsage
|
call :PrintUsage
|
||||||
:Error
|
:Error
|
||||||
echo.
|
echo.
|
||||||
call "%~dp0\utils\cecho.cmd" 0 12 "An error occurred! Aborting!"
|
call "%~dp0\utils\cecho.cmd" 0 12 "An error occurred! Aborting! Last logged action: %LAST_ACTION%"
|
||||||
set IFCOS_SCRIPT_RET=1
|
set IFCOS_SCRIPT_RET=1
|
||||||
goto :Finish
|
goto :Finish
|
||||||
|
|
||||||
@@ -808,6 +808,7 @@ if not exist "%~3". (
|
|||||||
) else (
|
) else (
|
||||||
call cecho.cmd 0 13 "%DEPENDENCY_NAME% already downloaded. Skipping."
|
call cecho.cmd 0 13 "%DEPENDENCY_NAME% already downloaded. Skipping."
|
||||||
)
|
)
|
||||||
|
set LAST_ACTION=DownloadFile '%DEPENDENCY_NAME%'.
|
||||||
set RET=%ERRORLEVEL%
|
set RET=%ERRORLEVEL%
|
||||||
popd
|
popd
|
||||||
exit /b %RET%
|
exit /b %RET%
|
||||||
@@ -821,6 +822,7 @@ if not exist "%~3". (
|
|||||||
) else (
|
) else (
|
||||||
call cecho.cmd 0 13 "%DEPENDENCY_NAME% already extracted into %~3. Skipping."
|
call cecho.cmd 0 13 "%DEPENDENCY_NAME% already extracted into %~3. Skipping."
|
||||||
)
|
)
|
||||||
|
set LAST_ACTION=ExtractArchive '%DEPENDENCY_NAME%'.
|
||||||
exit /b %ERRORLEVEL%
|
exit /b %ERRORLEVEL%
|
||||||
|
|
||||||
:: GitCloneOrPullRepository - Clones or pulls (if repository already cloned) a Git repository
|
:: GitCloneOrPullRepository - Clones or pulls (if repository already cloned) a Git repository
|
||||||
|
|||||||
Reference in New Issue
Block a user