matthewtodd / shoe

Another take on hoe, jeweler & friends.

This URL has Read+Write access

shoe /
name age message
file .gitignore Fri Jul 10 06:48:50 -0700 2009 Good enough. [matthewtodd]
file README.rdoc Loading commit data...
file Rakefile
directory bin/
directory features/
directory lib/
file shoe.gemspec
README.rdoc

Shoe

You probably don’t want to use Shoe — especially if you’re like me!

I like tinkering with my build scripts. That’s why I don’t use hoe and jeweler and those guys, even though they’re awesome. I like to put my own thing together, so I made Shoe.

Behold

Here’s how your Rakefile looks:

 require 'shoe'

 Shoe.tie('myproject', '0.1.0', "This is my project, and it's awesome!") do |spec|
   # do whatever you want with the Gem::Specification here, for example:
   # spec.add_development_dependency 'shoulda'
 end

And here’s what you get, at most:

 rake clean         # Remove ignored files
 rake compile       # Compile C extensions
 rake cucumber      # Run features
 rake cucumber:wip  # Run work-in-progress features
 rake default       # Run features
 rake gemspec       # Show latest gemspec contents
 rake rdoc          # Generate documentation
 rake release       # Release myproject-0.1.0
 rake shell         # Run an irb console
 rake test          # Run tests

Most of the time, though, you won’t see all of these: when possible, tasks are conditionally defined.

See what I mean by reading Shoe#define_tasks.

Install

 gem install shoe

Getting Started

Shoe can create a Rakefile for you:

 cd myproject && shoe