[build2] Wildcards and pattern exclusion

Moldmann Max (DC-MA/ENG52-NA) Max.Moldmann at boschrexroth-us.com
Tue Apr 11 16:45:16 UTC 2017


Hi Boris,

I think it is easy to see if the build failed, e.g.:

info: failed to update dir{.\}

It was a Windows MinGW build of the 0.5.0 alpha version that you provided earlier.

Max

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Tuesday, April 11, 2017 9:18 AM
To: Moldmann Max (DC-MA/ENG52-NA) <Max.Moldmann at boschrexroth-us.com>
Cc: users at build2.org
Subject: Re: [build2] Wildcards and pattern exclusion

Hi Max,

Moldmann Max (DC-MA/ENG52-NA) <Max.Moldmann at boschrexroth-us.com> writes:

> C:\build2\bin\b.exe --config-sub build\tricore-config.sub.exe %* if 
> errorlevel 0 goto SUCCESS 
> goto END
> 
> The script always tries to execute the commands after success, even 
> when the build fails - no matter if parameters (%*) are present or 
> not.

How do you know the build fails? Do you get some diagnostics from build2? Note that if you don't pass any arguments, build2 will just do update in the current directory.

If that still doesn't solve it, can you let me know how you built build2? Specifically, is it a MinGW or MSVC build?

Boris



More information about the users mailing list