composer-patches icon indicating copy to clipboard operation
composer-patches copied to clipboard

Move files related to development to separate branch

Open allanpaiste opened this issue 3 years ago • 2 comments

The plugin currently includes quite a many files that are only needed for development which end up being installed to every project that uses the plugin.

Create a new branch (develop) that would include those files that a person developing the module could git checkout develop when setting up the development environment.

allanpaiste avatar Feb 24 '21 11:02 allanpaiste

Isn't the .gitattributes file a possible solution for this? Never tried it before, but I think it may be able to accomplish what you want: https://php.watch/articles/composer-gitattributes

hostep avatar Feb 25 '21 16:02 hostep

Oh yes! Was not aware of that and it seems to indeed be exactly what is needed :) Would take away the need to to all that branching :3 Thanks!

allanpaiste avatar Feb 25 '21 19:02 allanpaiste