2 Dec 2009 19:42
Plugins (was: AUTHOR_TESTING and xt?)
Eric Wilhelm <enobacon <at> gmail.com>
2009-12-02 18:42:27 GMT
2009-12-02 18:42:27 GMT
# from David Golden # on Thursday 26 November 2009 05:10: >How about this: > >(1) We add a "testrelease" action that sets RELEASE_TESTING and calls >a list of other testing actions > >(2) We add a 'testxt' action that runs tests in xt/; this is common >enough now that we might as well make it easy > >(3) We add a 'release_test_actions' parameter to set the list. This >would default to qw/test testxt testpod distcheck disttest/ but could >be overridden in arguments to new() > >...Build release' would be easy to do... This has triggered my semi-biyearly ponderance of plugins. I think "tools for authors" should be doable outside of M::B. And/or more easily customized than via subclassing, plus more easily shared between distributions than via copy+paste. What is mentioned above covers most of what CPDK::Publish does, but I guess having it inside the build system would work just as well. In any case, I want to be able to drive it via layered config files so that machine+user+project settings are manageable. For general thoughts about plugins: We've discussed before/after hooks and I think that's the way to go (maybe just a hash of arrays of subrefs -- maybe run by _call_action() or even something installed in(Continue reading)
RSS Feed