https://github.com/stereobooster/submodule
Small gem to simplify building process of gems with git submodules. Tended to be used for ruby gems which wrap js libraries or another assets
https://github.com/stereobooster/submodule
Last synced: about 2 months ago
JSON representation
Small gem to simplify building process of gems with git submodules. Tended to be used for ruby gems which wrap js libraries or another assets
- Host: GitHub
- URL: https://github.com/stereobooster/submodule
- Owner: stereobooster
- Created: 2012-05-06T20:44:59.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-08-30T17:53:30.000Z (almost 13 years ago)
- Last Synced: 2025-03-25T22:36:35.051Z (2 months ago)
- Language: Ruby
- Size: 113 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# submodule
Small gem to simplify building process of gems with git submodules. Tended to be used for ruby gems which wrap js libraries or another assets
## Usage
Install gem or add it to `Gemfile` then put in your `Rakefile`:
```ruby
require 'submodule'
Submodule::Task.new do |t|
t.test do
# run tests of submodule
endt.after_pull do
# do something
end
end
```## 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