Skip to content

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

Open
@Derby-63

Description

@Derby-63

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')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions