-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for project-local plugins
This puts the basic scaffolding in place to allow project-local plugin definitions. This, in turn, can be usable for vendoring mechanisms. A few things that are still tricky with this approach: - This is not tested aside from manual execution with a toy case - There is no great way to only making this work with umbrella projects, since plugins are installed before the discovery phase that decides whether a project is an umbrella project or not, so there may be a need for an imperfect heuristic (eg. using project_src_app directories except the project root) - Whether it clashes with things such as global plugins' paths and the general usage of rebar_paths to switch things in and out of visibility for projects. - If dependencies are well handled. - How overrides should work on this one. I'm assuming they shouldn't. - If profiles are working well with this (and whether they even should, since they don't with other plugins) - If it works with recursive plugins and local definitions Manual executions however seem to show that this works. I'm committing and putting it in a draft PR for awareness.
- Loading branch information
Showing
5 changed files
with
77 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters