Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Jun 1, 2012
1 parent 91fd55e commit b9cafc4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,22 @@ Install gem or add it to `Gemfile` then put in your `Rakefile`:

```ruby
require 'submodule'
class SomeSubmodule < Submodule::Task
def test
Submodule::Task.new do |t|
t.test do
# run tests of submodule
end

def after_pull
t.after_pull do
# do something
end
end
SomeSubmodule.new
```

## Alternatives

### [vendorer](https://github.com/grosser/vendorer)
Submodule support only git. Submodule use `.gitmodules` as config, but vendorer use `Vendorfile`

## TODO

- Implement: upgrade submodule to the latest version with passing tests

0 comments on commit b9cafc4

Please sign in to comment.