Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Auto promote XS modules from recommends to requires when using Module::Build with Dist::Zilla

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .project
Octocat-spinner-32 Changes
Octocat-spinner-32 README.pod
Octocat-spinner-32 dist.ini
README.pod

NAME

Dist::Zilla::Plugin::ModuleBuild::RequireXS

SYNOPSIS

In your dist.ini:

   # Any module that contains 'XS'
   [ModuleBuild::RequireXS]

   # Only specified modules
   [ModuleBuild::RequireXS]
   module = JSON::XS
   module = YAML::XS

DESCRIPTION

Use this plugin instead of the regular ModuleBuild plugin when you are relying on XS modules that have a pure Perl fallback, eg JSON, JSON::XS and JSON::PP.

It generates a Build.PL which will promote XS modules from recommends to requires if there is a working C compiler. This behaviour can be disabled by passing a --pp flag to Build.PL.

By default, it will select any module in the recommends list that include XS in the name. Otherwise you can specify a list of modules in your dist.ini

SUPPORT

If you have any suggestions for improvements, or find any bugs, please report them to http://github.com/clintongormley/Dist-Zilla-Plugin-ModuleBuild-RequireXS/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Something went wrong with that request. Please try again.