Currently Deployer can detect autoload.php file:
https://github.com/deployphp/deployer/blob/master/bin/dep#L63-L67
We need to be able also to detect vendor/bin/dep files and execute them instead.
Who wants to implement it?
@antonmedv i am interested in implementing this feature but i would like to know little more about this feature.
Sure! Here is the deal:
dep command, be able to run dep init in my project, etc.Let's imagine we have Deployer globally installed, now some project may have Deployer installed in the next ways:
composer require deployer/deployerdep correctly detects this and uses local Deployer instead of global.composer require deployer/distributionvendor/bin/dep.bin/dep or deployer.org.How to implement this feature:
Feel free to ask any questions before and during implementation.
@antonmedv thanks for the explanation in detail,
- Via composer require deployer/deployer
This is related with this repository right https://github.com/deployphp/distribution
Yes distribution phar is there.
Looking for a contributor!
Most helpful comment
Sure! Here is the deal:
depcommand, be able to rundep initin my project, etc.Let's imagine we have Deployer globally installed, now some project may have Deployer installed in the next ways:
composer require deployer/deployerdepcorrectly detects this and uses local Deployer instead of global.This is done by this part of code: bin/dep#L70-L92.
composer require deployer/distributionvendor/bin/dep.bin/depordeployer.org.How to implement this feature:
Feel free to ask any questions before and during implementation.