matthewtodd / shoe
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (14)
- Wiki (1)
- Graphs
-
Branch:
master
shoe /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Jul 10 06:48:50 -0700 2009 | |
| |
README.rdoc | ||
| |
Rakefile | ||
| |
bin/ | ||
| |
features/ | ||
| |
lib/ | ||
| |
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

