Skip to content

Make scripts/composer/ScriptHandler.php a composer plugin #240

Closed
@mminklet

Description

@mminklet

It seems unusual to me to have a requirement of your repo include the scripts/composer/ScriptHandler.php file. In my view anything that is not custom to the project should not be in the repo and instead installed through the composer.json file, that is how I see things when moving from a drush make file style installation in the past

Am I wrong here? I basically only want a few things in my repo:
composer.json (required)
custom modules/libraries/themes (optional)
my own custom scripts (optional) - arguably I could put scripthandler in here but i I don't have any custom scripts then this is superfluous.

In my head I reckon it should be possible to get the composer.json from this project on it's own as a starting point and install from that without anything additional imo. Is there a way to do that I'm missing perhaps, or am I just missing the point of composer completely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions