box-project / box2

An application for building and managing Phars.
https://box-project.github.io/box2/
MIT License
1.19k stars 80 forks source link

Automatic cleanup of production-useless files #145

Open mlocati opened 8 years ago

mlocati commented 8 years ago

Right now, to strip out tests, docs and other useless files from packages installed via composer, we need to manually (and carefully) set the finder key of box.json.

There has been a discussion about the ways about how this process could be automated, delegating to every package maintainer the responsibility to specify which are the files that are superfluous for the production layer.

That discussion resulted in @kamilsk starting a new project to implement this.

It would be fine if Box could support/integrate that project.

kamilsk commented 8 years ago

alpha version is ready, docs here https://github.com/octolab/Cleaner/wiki