From: Guillaume Benny Date: 2006-11-05T09:34:21+09:00 Subject: RE : Rakefile sound effects Hi, Jan Svitok wrote: >On 11/5/06, Phlip wrote: >> Ruboids: >> >> Suppose I wanted to play a WAV file each time any Rakefile tasks all >> succeed, and play another one each time any task fails. >> >> How could one add such a feature, portably between Linux and WinXP? >> >> > >I suppose you can check the result code/errorlevel that rake returns, >but I haven't verified this. Simple and portable: rake && echo FINE || echo BAD Replace echo with your command of choice... Although the command might not be portable... Guillaume