[Module-build-general] New beta on SF & CPAN
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-08-18 16:40:00
|
Hey,
There's a new M::B on sourceforge & CPAN, changes since 0.19_04 are:
- Changed the way the depends_on() method works inside action
subroutines - now each action will only run once per dispatch()
invocation (similar to how perl's require() function works). This
helps avoid some difficult problems with dependency loops.
- Separated the 'build' action into two separate actions, 'code' and
'docs'. This is similar to MakeMaker's separation of the 'all'
target into 'pure_all' and 'manifypods'. This fixes a permissions
hassle in which doing 'sudo Build install' would often create local
doc files that needed superuser permissions to delete.
- Enhanced the 'help' action - 'Build help foo' will now show the POD
documentation for the 'foo' action.
- Changed the documentation for the 'autosplit' parameter to give
reasons why it may not be a good idea to use, but no longer
threaten to remove it. [Suggested by Martyn J. Pearce]
- Improved the formatting of the 'traditional' Makefile.PL generated
by Module::Build::Compat->create_makefile_pl. [Michael Schwern]
- The 'traditional' Makefile.PL will now use the 'module_name'
parameter (as NAME) if it's available, otherwise it will continue
to use the 'dist_name' (as DISTNAME). [Michael Schwern]
- Created read/write accessor methods for all our 'properties'.
[Michael Schwern]
- The 'test_files' parameter can now be specified using glob() syntax
(i.e. 't/*.t'), and the corresponding test_files() method is now a
read/write accessor.
- The 'builddocs' action from the last beta release has been renamed
to 'docs'.
- The location of the 'blib' directory is now a property of the Build
object - nobody is likely to notice this change, with any luck, but
it makes the design and code cleaner.
- The 'disttest' and 'distsign' methods now chdir() back to the
directory where they started, rather than to the base_dir of the
build.
-Ken
|