Subject: | Remove File::ShareDir::Install from build_requires |
File::ShareDir::Install is currently (1.102) marked as a build_requires in Makefile.PL.
But it is used only for the deployement of share/sample.txt and share/subdir/sample.txt. Those two files are only used for testing in t/02_main.t. I think that such testing code should be in File::ShareDir::Install, not in File::ShareDir.
So, by refactoring the testing code, it should be possible to not depend at all on File::ShareDir::Install.
This would help to reduce the number of modules bundled by packaging tools such as Carton. This would also remove the dependency cycle that has been resolved by bundling File::ShareDir::Install in inc/.
If I work on this refactoring, does it have a chance of being merged?
--
Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/
But it is used only for the deployement of share/sample.txt and share/subdir/sample.txt. Those two files are only used for testing in t/02_main.t. I think that such testing code should be in File::ShareDir::Install, not in File::ShareDir.
So, by refactoring the testing code, it should be possible to not depend at all on File::ShareDir::Install.
This would help to reduce the number of modules bundled by packaging tools such as Carton. This would also remove the dependency cycle that has been resolved by bundling File::ShareDir::Install in inc/.
If I work on this refactoring, does it have a chance of being merged?
--
Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/