Skip to content

Commit 0acd974

Browse files
committed
Report error codes from batch files.
1 parent 28465ca commit 0acd974

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

add_to_build_results/monodistribution/bin/cli.bat

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ set MONO=%MONO_PREFIX%/bin/mono
44
set MONO_PATH=%MONO_PREFIX%/lib/mono/2.0
55
set MONO_CFG_DIR=%MONO_PREFIX%/etc
66
"%MONO%" %*
7+
exit /b %ERRORLEVEL%

add_to_build_results/monodistribution/bin/cli_unity.bat

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ set MONO=%MONO_PREFIX%/bin/mono
44
set MONO_PATH=%MONO_PREFIX%/lib/mono/unity
55
set MONO_CFG_DIR=%MONO_PREFIX%/etc
66
"%MONO%" %*
7+
exit /b %ERRORLEVEL%
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
@"%~dp0\mono.exe" %MONO_OPTIONS% "%~dp0\..\lib\mono\2.0\gmcs.exe" %*
2+
exit /b %ERRORLEVEL%
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
@"%~dp0\mono.exe" %MONO_OPTIONS% "%~dp0\..\lib\mono\2.0\monolinker.exe" %*
2+
exit /b %ERRORLEVEL%

add_to_build_results/monodistribution/bin/nunit-console2.bat

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ set MONO=%MONO_PREFIX%/bin/mono
44
set MONO_PATH=%MONO_PREFIX%/lib/mono/2.0
55
set MONO_CFG_DIR=%MONO_PREFIX%/etc
66
%MONO% --debug %MONO_PATH%/nunit-console.exe %*
7+
exit /b %ERRORLEVEL%
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
@"%~dp0\mono.exe" %MONO_OPTIONS% "%~dp0\..\lib\mono\unity\smcs.exe" %*
2+
exit /b %ERRORLEVEL%
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
@"%~dp0\mono.exe" %MONO_OPTIONS% "%~dp0\..\lib\mono\2.0\xbuild.exe" %*
2+
exit /b %ERRORLEVEL%

scripts/script.bat.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
22
"%~dp0cli.bat" %MONO_OPTIONS% "%~dp0..\lib\mono\@framework_version@\@[email protected]" %1 %2 %3 %4 %5 %6 %7 %8 %9
3+
exit /b %ERRORLEVEL%

scripts/script_umask.bat.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
22
@bindir@\@mono_interp@ %MONO_OPTIONS% @mono_instdir@\@framework_version@\@[email protected] %1 %2 %3 %4 %5 %6 %7 %8 %9
3+
exit /b %ERRORLEVEL%

0 commit comments

Comments
 (0)