Exit rake silently

T

Trans

This haas been asked before... I know b/c I did a search for it. But
it was never answered.

How does one gracefully exit rake? If I use #abort or #exit I get much
extraneus output. I ther no way just to silently end the program?

Thanks,
T.
 
T

Trans

This haas been asked before... I know b/c I did a search for it. But
it was never answered.

How does one gracefully exit rake? If I use #abort or #exit I get much
extraneus output. I ther no way just to silently end the program?

Should have known.... as soon as I post this it hits me. Well, FYI to
anyone who may have ever wondered:

Kernel#exit!

T.
 
J

Jim Weirich

Trans said:
This haas been asked before... I know b/c I did a search for it. But
it was never answered.

How does one gracefully exit rake? If I use #abort or #exit I get much
extraneus output. I ther no way just to silently end the program?

Really? For

task :default do
exit 0
end

I get:

$ rake -s
$

-- Jim Weirich
 
T

Trans

Really? For

task :default do
exit 0
end

I get:

$ rake -s
$

I get:

$ rake -s
rake aborted!
exit
/file/trans/my/code/ruby/foo/Rakefile:4:in `exit'
(See full trace by running task with --trace)

this if for:

$ rake --version
rake, version 0.7.1

T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,232
Messages
2,571,168
Members
47,803
Latest member
ShaunaSode

Latest Threads

Top