-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global Installation Issue #468
Comments
Global installation is not supported yet. I understand the desire to move imposter out of plugin And, practically, if we are going to support global installation, we need to find a way to ensure global |
I'm going to poke around a bit today to see all the parameters composer has when it starts up. My thought was to have a check early on in the plugin that looks to see if it's Though it would also require another check to make sure there aren't errors if a project doesn't have settings in My context for wanting to install it globally is because I'm doing development of a plugin in a docker container, so if I can globally install it in the docker container I can keep it out of the project I may submit a PR later today if I can figure something out. |
Awesome! Try https://github.com/consolidation/cgr first. It might "just work" if we put |
I was trying out doing a global installation of this package so I could keep it out of the project requirements, but ran into an issue. It looks like it's attempting to run after being globally installed because I get the error:
I'm going to look in the code a bit, but I'm hoping it would be easy to make sure that if
composer global
is being run then the the package won't attempt to run.The text was updated successfully, but these errors were encountered: