Closed Mekk closed 1 year ago
Thank you, @Mekk! Sorry for the huge delay, took me a while to get back to this module.
Your patch is merged and I really like the new feature. I'll just tweak it a bit more before the actual release because I don't want to add non-core modules like Path::Tiny to this distribution.
Thanks again!
I offer two new options (sorry for bundling them together but I added --max-age after trying to use --all):
--all causes cpanm-reporter to consider not only last build.log, but also other recent build.log files present in ~/cpanm/work. I wrote it as I routinely cpanm OnePackage cpanm SecondOne cpanm-reporter # Ops, only Second reported
--max-age=60 specify max allowed age of build.log, in minutes. This is safer than full-blown force, especially in case --all is being used.
There are also some tweaks in doc and messages to accomodate those changes, and minor refactoring to make processing multiple build.log's easier.