Bldr comes with predefined install
and update
commands that can not be overwritten in .bldr.yml.dist
. Those commands execute composer install
/ composer update
, but don't seem to find composer.json
:
# bin/bldr update
Loading composer repositories with package information
Updating dependencies
- Removing bldr-io/bldr (8.4.0)
- Removing bldr-io/composer-plugin (1.0.6)
- Removing dflydev/embedded-composer (dev-master)
- Removing composer/composer (dev-master)
- Removing composer/spdx-licenses (1.1.2)
- Removing composer/semver (1.2.0)
...
Basically, Bldr removes itself, which doesn't seem to be the intended behaviour. It probably looks for composer.json
in bin
instead of the main directory?
My composer.json
looks like this (only the important parts):
{
"autoload": {
"psr-0": {
"": "src/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"symfony/symfony": "2.8.*"
},
"require-dev": {
"bldr-io/bldr": "@stable"
},
"config": {
"bin-dir": "bin"
}
}