Replies: 4 comments 7 replies
-
Composer will never create a |
Beta Was this translation helpful? Give feedback.
-
I resume the discussion for some clarification
But if I have unit tests to be performed, I have to give the command
which will inevitably be to create the vendor directory. So what do you do? |
Beta Was this translation helpful? Give feedback.
-
So the ideal would be to avoid having the vendor/anon/package1/vendor directory, avoiding to run
But if I have unit tests into anon/package1 to be run, I have to give the command
This forces me to download the phpunit/phpunit composer package, otherwise would answer me
That's what I had already said here #11403 (comment) So what do you do? Unfortunately @stof no longer gave any answer |
Beta Was this translation helpful? Give feedback.
-
I created two packages.
Here are the related composer.json files
Note that the my/sub1 package requires the my/sub2 package.
We download
Let's see what happened
But I would have liked to be downloaded only the ./vendor/my/sub1 and ./vendor/my/sub1/vendor/my/sub2 directory, and not also ./vendor/my/sub2
It's possible?
Beta Was this translation helpful? Give feedback.
All reactions