Closed AlexSkrypnyk closed 7 years ago
Currently, composer files is assumed to be composer.json, but should be read from environment variable COMPOSER (https://getcomposer.org/doc/03-cli.md#composer)
composer.json
COMPOSER
composer_json = "#{beet_root}/composer.json"
Configuration should be read from the composer configuration provided in COMPOSER environment variable.
Only composer.json is supported.
Add support for composer config file with a fallback to the composer.json.
Fixed in #421
Problem/Motivation
Currently, composer files is assumed to be
composer.json
, but should be read from environment variableCOMPOSER
(https://getcomposer.org/doc/03-cli.md#composer)Expected behaviour
Configuration should be read from the composer configuration provided in
COMPOSER
environment variable.Actual behaviour
Only
composer.json
is supported.Proposed changes
Add support for composer config file with a fallback to the
composer.json
.