|
Re: [rubygems] Build still broken (#1149): msg#00081lang.ruby.gems.devel
On Dec 25, 2006, at 11:59, Jim Weirich wrote: > Anatol Pomozov wrote: >> But Rake finishes with return code == 0 on windows even if some error >> present. I dunno why, better to ask Rake developers. > > As far as I can tell, Rake is properly returning the exit > status code. However on Windows, rake is invoked via a BAT > file setup by RubyGems (on Unix systems, a shell script is > used). I suspect the exit code is not being properly > propagated through the BAT script. Unfortunately, my BAT > programming skills are exactly zero. Can someone verify this > and suggest a better BAT script for gems that will propagate > exit status. Yep, I've verified this. "c:\ruby\bin\ruby" -x "%~f0" %* goto endofruby #!/bin/ruby abort 'boom' __END__ :endofruby Will return an exit code of 0 instead of 1. I'll ask ruby-talk. -- Eric Hodel - drbrain-48TerJ1FxhPk1uMJSBkQmQ@xxxxxxxxxxxxxxxx - http://blog.segment7.net I LIT YOUR GEM ON FIRE!
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [rubygems] Build still broken (#1174), Cerberus |
|---|---|
| Next by Date: | Re: [rubygems] Build still broken (#1149), Eric Hodel |
| Previous by Thread: | Re: [rubygems] Build still broken (#1149), Jim Weirich |
| Next by Thread: | Re: [rubygems] Build still broken (#1149), Eric Hodel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |