Devel::MaintBlead

Handle maint / blead code paths for distributions
Download

Devel::MaintBlead Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Elizabeth Mattijsen
  • Publisher web site:
  • http://search.cpan.org/~elizabeth/

Devel::MaintBlead Tags


Devel::MaintBlead Description

Devel::MaintBlead is a Perl module that only serves a purpose in the development environment of an author of a CPAN distribution (or more precisely: a user of the ExtUtils::MakeMaker module). It only needs to be installed on the development environment of an author of a CPAN distribution.It allows a developer to easily maintain two code paths of the same module(s) in the same distribution. Each code path has its own source in the "lib" directory, its own tests in the "t" directory, and its own MANIFEST.If the "blead" version of the code is active, a "make dist" will create a distribution file for the "blead" version. If the "maint" version of the code is active, a "make dist" will create a distribution file for the "maint" version. It is important that the two code versions have different version numbers, as PAUSE / CPAN will only accept one upload per version number.Usually, if both code paths have been updated and ready for CPAN, one will upload the distribution file for the "maint" version. And then the distribution file for the "blead" version. This will make the most modern release of your distribution, also the most recent.SYNOPSIS # before our $LIB_TREE= 'Foo/Bar'; our $REQUIRED= '5.014'; eval "use Devel::MaintBlead"; # after our $LIB_TREE= 'Foo/Bar'; our $REQUIRED= '5.014'; eval "use Devel::MaintBlead" || do "maintblead"; # "maintblead" written and added to MANIFESTProduct's homepage


Devel::MaintBlead Related Software