Closed mruoss closed 10 years ago
Yes, if "public/app/code/local/My/Module" already exists. It's just like the command line tool cp would behave.
Mmmh... okay. But the result ist that composer install
will create the directory and put everything in there and composer update
will then create the code directory inside the module directory.
Is there a way to define in the module that all inside code should be copied into a newly created module directory?
what happens if you have "modules/My_Module/code/*"
on the left side?
Did not test it, but working often with the commandline, using a wildcard seems the correct solution here
Hi there
I'm using
"magento-deploystrategy": "copy"
to deploy magento modules in my project. Now I have a module whose composer.json contains a file map entry as follows:When I run composer install/update it would create the directory
public/app/code/local/My/Module/code
and put everything in there. I was expecting composer to deploy the content of the code directory into My/Module but not to create a subdirectory named code. Is this the expected behavior?Thanks, Michael