Skip to content
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

Use composer config bin-dir path instead of static vendor/bin folder for shell command apply patches #823

Open
Derby-63 opened this issue Dec 20, 2024 · 0 comments

Comments

@Derby-63
Copy link

ece-tools execute shell command php ./vendor/bin/ece-patches apply --no-interaction for apply patches, with static path for binaries, in vendor/bin.

It would be great, for the developer experience (better to use custom bin-dir 'bin' at the root directory of project), to use the composer bin-dir config instead of static path.

use Composer\Composer;

private readonly Composer $composer,

$this->composer->getConfig()->get('bin-dir')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant