Homebrew resource stanza generator for RubyGems dependencies.
Given a Gemfile
, resona will resolve gem dependencies and output Homebrew
resource stanzas useful for creating formulas. See the Homebrew Formula
Cookbook
for more information on resource stanzas.
Add this line to your application's Gemfile:
gem 'resona'
And then execute:
$ bundle
Or install it yourself as:
$ gem install resona
Usage: resona [options] gemfile
--with grp,... Specify groups to include
--without grp,... Specify groups to exclude
Locally installed gems might not appear in the result. To prevent this from
happening, it is recommended that you either use a rbenv
gemset, or use GEM_HOME
and GEM_PATH
to
hide your locally installed gems from
resona.
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
Bug reports and pull requests are welcome on GitHub at https://github.com/midchildan/resona. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.