On Monday 28 January 2008 18:09:00 Ian Malpass wrote: > I'd like to make use of Test::Pod::Snippets to test the examples in my > docs. The example shows using the PL_files option in Build.PL to create > the tests automatically when you run ./Build, but this presumably means > Test::Pod::Snippets becomes a build prereq, which seems silly. > > I can (and will) run the snippet test-generating script manually and > ship the resulting tests, but it'd be nice to be able to generate a > properly up-to-date test when I build the distribution itself, lest I > forget to do so. > > Is there a hook somewhere in Module::Build to do this? Or am I missing a > trick somewhere? (Obviously I could have a distro-building script or > something, but if there are hooks somewhere for doing this "properly" > I'd prefer to use them....)
Override ACTION_dist? -- c