32 lines
1014 B
Plaintext
32 lines
1014 B
Plaintext
--TEST--
|
|
Composer installers and their requirements are installed first
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{ "name": "pkg/1", "version": "1.0.0" },
|
|
{ "name": "pkg/2", "version": "1.0.0" },
|
|
{ "name": "inst/pkg", "version": "1.0.0", "type": "composer-plugin" },
|
|
{ "name": "inst/with-req", "version": "1.0.0", "type": "composer-plugin", "require": { "php": ">=5", "ext-json": "*", "composer-plugin-api": "*" } },
|
|
{ "name": "inst/with-req2", "version": "1.0.0", "type": "composer-plugin", "require": { "pkg/2": "*" } }
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"pkg/1": "1.0.0",
|
|
"inst/pkg": "1.0.0",
|
|
"inst/with-req2": "1.0.0",
|
|
"inst/with-req": "1.0.0"
|
|
}
|
|
}
|
|
--RUN--
|
|
install
|
|
--EXPECT--
|
|
Installing inst/pkg (1.0.0)
|
|
Installing inst/with-req (1.0.0)
|
|
Installing pkg/2 (1.0.0)
|
|
Installing inst/with-req2 (1.0.0)
|
|
Installing pkg/1 (1.0.0)
|