Closed gregharvey closed 4 months ago
Another option would be to fix the ddev and Lando configs (and GitHub Actions) so you don't need the composer line setting the bin dir at all?
@andybroomfield just mentioned that Acquia expects it to be in /vendor/bin.
This is with Cloud next and cloud actions, after a call with an Acquia engineer. We're making that change to our composer.json to align with Acquia expectations, otherwise cloud actions fail as it can't find drush. As mentioned above this only affects new projects so we will need to document that change and rational for it.
Closing this in favour of #143 , thanks @gregharvey
Why?
Because lots of CI expect to find tools like
drush
invendor/bin
, it's thecomposer
standard. I presume Lando needs the./bin
directory to contain these tools so it can present them? This solution attempts to make that available for Lando by committing a link, while allowing composer to install things in the "usual" places.I understand if you don't accept this, it's just a suggestion and it only took a minute to make. :-)