jimweirich / rake

A make-like build utility for Ruby.
http://rake.rubyforge.org/
1.1k stars 10 forks source link

Add `ake` #284

Closed teoljungberg closed 9 years ago

teoljungberg commented 10 years ago

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

drbrain commented 10 years ago

Why not use rake?

I haven't heard of people using rake as a library in this fashion because of the executable.

teoljungberg commented 10 years ago

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:

drbrain commented 9 years ago

Since this is longer than rake and too special-purpose I am rejecting it.