Closed teoljungberg closed 9 years ago
Why not use rake
?
I haven't heard of people using rake as a library in this fashion because of the executable.
I just thought that is was fun, and it felt like a thing Jim would do(and did in rubygems)
I started experimenting with rake as a library for a side-project, and to avoid sitting in irb
the whole time(I much prefer sitting in my editor) I ran ruby -rrake foo.rb
a lot to test around and came to think about the rubygems' ubygems
.
I know it's a stupid patch, but what-the-hell :smiley_cat:
Since this is longer than rake
and too special-purpose I am rejecting it.
This file allows for the running of rake with a nice command line look-and-feel: ruby -rake foo.rb
Inspired from https://github.com/rubygems/rubygems/blob/master/lib/ubygems.rb in the spirit of Jim Weirich