Motion::Dependencies
Installation
$ gem install motion-dependencies
Add this line to your application's Rakefile:
require 'motion-dependencies'
Motion::Project::App.setup do |app|
app.files = Dir.glob('./app/lib/**/*.rb') | Dir.glob('./app/**/*.rb')
app.files_dependencies = Motion::Dependencies.find_dependendcies(app.files)
end
Usage
# depends your-mixin.rb
class FooViewController < UIViewController
include YourMixin
end
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request