0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 08:02:55 +01:00
gitea/modules/packages/composer
Giteabot 73066e3f97
Add bin to Composer Metadata (#32099) (#32106)
Backport #32099 by @maantje

This PR addresses the missing `bin` field in Composer metadata, which
currently causes vendor-provided binaries to not be symlinked to
`vendor/bin` during installation.

In the current implementation, running `composer install` does not
publish the binaries, leading to issues where expected binaries are not
available.

By properly declaring the `bin` field, this PR ensures that binaries are
correctly symlinked upon installation, as described in the [Composer
documentation](https://getcomposer.org/doc/articles/vendor-binaries.md).

Co-authored-by: Jamie Schouten <j4mie@hey.com>
2024-09-22 18:42:02 +00:00
..
metadata.go Add bin to Composer Metadata (#32099) (#32106) 2024-09-22 18:42:02 +00:00
metadata_test.go