Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Rake: How to keep proceeding if one command fails????
Luc Vantroys
8/3/2006 1:29:00 PM
Hi All,
Could you tell me how I could do to have rake to run all the tasks no
matter the result of the previous one(s)?
ex:
file 'xxx.c' => ['xxx.h'] do
if(sh(blablabla))
puts "do this"
else
puts "do this"
end
end
When for exemple the sh command failed, it quits and does not run the
rest of the scripts. How can I make this happen?
Thanks,
Luc
--
Posted via
http://www.ruby-...
.
1 Answer
S Wayne
8/5/2006 5:49:00 PM
0
Make systems generally don't do this. Make, ant and the rest are
designed to give up when a failure occurs, so the developer can take
action to correct it.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Rake: How to keep proceeding if one command fails????
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password