Re: [NAnt-users] setting flags and acting on them

2006-11-29 Thread Gary Feldman
Michael Jervis wrote: > If one or more lines contains fail, I want to fail the build, but only > after I've looped all rows and printed out the fails, so my build log > email will look like: > > [echo] Change 1 failed > [echo] Change 87 failed > [echo] Change 987 failed > [fail] Build failed, one o

[NAnt-users] setting flags and acting on them

2006-11-29 Thread Michael Jervis
Hi, OK, I've now got my code that loops through the log file looking for lines with fail in working (thanks guys). Now, I want to expand on that. If one or more lines contains fail, I want to fail the build, but only after I've looped all rows and printed out the fails, so my build log email will