in reply to Perl6 - Module::Build
Another thing I'd like to see is good detection of compilers, headers, external libraries, ... The developer would only specify what his module needs to function (libexpat, version 2) and the user would automatically be prompted if some things are missing (or might be named differently).
A user shouldn't be able to get past the Makefile.PL step if he's missing a C compiler, expat.h, or version 2 of libexpat ...
With regards to tests, a developer need only write something like
And a user would be prompted if he'd like to run those tests, with a defaults (need_socket, need_server_socket) being provided through a config file.test_prompt( "need_socket", "Needs to create sockets to blah.com", "default if no default from config" [ qw[t/sock1. t/sock2.t]] ); test_prompt( "need_server_socket", [qw[t/servsock1. t/servsock2.t]] );
Also see Module::Install for ideas.
update: Whether to build manpages/htmldocs should also be user configurable
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
OT: Cwd is indeed pain
by Courage (Parson) on May 28, 2005 at 13:43 UTC |