scrooloose/syntastic — pull request #620 by lafka (2013-04-18 15:23:03+00:00)
Title: Add support for nested dirs inside src/

When having nested directories (for instance `src/protocol/tm_protocol.erl`)
autocompilation would fail.

This patch does:
+ Finds all `ebin/` directories and adds them to path
+ Looks up the application root and uses that as base for compiler include path.

This should now work regardless of dependency structure (Rebar or OTP) and adds additional support for multi-app projects.