composer-assets-plugin icon indicating copy to clipboard operation
composer-assets-plugin copied to clipboard

Ignore .gitkeep files in assets-strategy copy

Open thefrosty opened this issue 4 years ago • 1 comments

We are using assets-strategy as copy, so have a directory in out GIT with the file .gitkeep so it's tracked. Is there a flag to ignore a allowed list of existing files? So I don't have a discard the change on all composer commands?

thefrosty avatar Nov 18 '20 23:11 thefrosty

Hi, there is no flag to keep files in assets directory. Assets directory is always purged and installed freshly. Maybe can help option assets-target and configure custom directory for every package.

janpecha avatar Nov 22 '20 10:11 janpecha