David Golden > Dist-Zilla-Plugin-OSPrereqs-0.002 > Dist::Zilla::Plugin::OSPrereqs

Download:
Dist-Zilla-Plugin-OSPrereqs-0.002.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.002   Source   Latest Release: Dist-Zilla-Plugin-OSPrereqs-0.003

NAME ^

Dist::Zilla::Plugin::OSPrereqs - List prereqs conditional on operating system

VERSION ^

version 0.002

SYNOPSIS ^

In your dist.ini:

   [OSPrereqs / MSWin32]
   Win32API::File = 0.11

DESCRIPTION ^

This Dist::Zilla plugin allows you to specify OS-specific prerequisites. You must give the plugin a name corresponding to an operating system that would appear in $^O. Any prerequisites listed will be conditionally added to PREREQ_PM in the Makefile.PL

WARNING ^

This plugin only works for Makefile.PL geneated by the Dist::Zilla::Plugin::MakeMaker plugin and must appear in your dist.ini after that plugin.

This plugin is a fairly gross hack, based on the technique used for Dist::Zilla::Plugin::DualLife and might break if/when Dist::Zilla changes how it generates a Makefile.PL.

AUTHOR ^

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2011 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
syntax highlighting: