HipByte/RubyMotion — pull request #81 by clayallsopp (2013-04-04 04:27:04+00:00)
Title: Add Config#exclude_from_detect_dependencies

Hey guys, basically BubbleWrap has a pretty well-defined but complex dependency graph. Running with `detect_dependencies` produces some wild results and earlier tonight I got some sort of infinite dependency that caused problems (can repro if you want).

So I added `exclude_from_detect_dependencies`, which removes that array of files from being used in the `Dependency` checker. It's is probably a good compromise, pretty sure other large libraries would appreciate this too.

Example:

```ruby
# in my_gem.rb

Motion::Project::App.setup do |app|
app.files << MyLib.files
app.files_dependencies << MyLib.dependency_graph
app.exclude_from_detect_dependencies << MyLib.files
end
```