summaryrefslogtreecommitdiff
path: root/Build.PL
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-03-13 05:57:42 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-03-13 05:57:42 +0000
commitab45179756d9ce7e63c894d52b2e34cafc10bf6a (patch)
treefd14070f6855383aa0b5c75322c8d40bc81ed8e6 /Build.PL
downloadModule-Runtime-Conflicts-tarball-master.tar.gz
Module-Runtime-Conflicts-0.002HEADModule-Runtime-Conflicts-0.002master
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL119
1 files changed, 119 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL
new file mode 100644
index 0000000..e45e991
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,119 @@
+# This Build.PL for Module-Runtime-Conflicts was generated by
+# Dist::Zilla::Plugin::ModuleBuildTiny::Fallback 0.015
+use strict;
+use warnings;
+
+my %configure_requires = (
+ 'Module::Build::Tiny' => '0.039',
+);
+
+my @missing = grep {
+ ! eval "require $_; $_->VERSION($configure_requires{$_}); 1"
+} keys %configure_requires;
+
+if (not @missing)
+{
+ # This section for Module-Runtime-Conflicts was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.009.
+ use strict;
+ use warnings;
+
+ use 5.006;
+ # use Module::Build::Tiny 0.039;
+ Module::Build::Tiny::Build_PL();
+}
+else
+{
+ $ENV{PERL_MB_FALLBACK_SILENCE_WARNING} or warn <<'EOW';
+*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
+
+If you're seeing this warning, your toolchain is really, really old* and you'll
+almost certainly have problems installing CPAN modules from this century. But
+never fear, dear user, for we have the technology to fix this!
+
+If you're using CPAN.pm to install things, then you can upgrade it using:
+
+ cpan CPAN
+
+If you're using CPANPLUS to install things, then you can upgrade it using:
+
+ cpanp CPANPLUS
+
+If you're using cpanminus, you shouldn't be seeing this message in the first
+place, so please file an issue on github.
+
+This public service announcement was brought to you by the Perl Toolchain
+Gang, the irc.perl.org #toolchain IRC channel, and the number 42.
+
+----
+
+* Alternatively, you are running this file manually, in which case you need
+to learn to first fulfill all configure requires prerequisites listed in
+META.yml or META.json -- or use a cpan client to install this distribution.
+
+You can also silence this warning for future installations by setting the
+PERL_MB_FALLBACK_SILENCE_WARNING environment variable, but please don't do
+that until you fix your toolchain as described above.
+
+EOW
+ sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));
+
+
+ # This section was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.032.
+ use strict;
+ use warnings;
+
+ require Module::Build; Module::Build->VERSION(0.28);
+
+
+ my %module_build_args = (
+ "build_requires" => {},
+ "configure_requires" => {
+ "Module::Build::Tiny" => "0.039",
+ "perl" => "5.006"
+ },
+ "dist_abstract" => "Provide information on conflicts for Module::Runtime",
+ "dist_author" => [
+ "Karen Etheridge <ether\@cpan.org>"
+ ],
+ "dist_name" => "Module-Runtime-Conflicts",
+ "dist_version" => "0.002",
+ "license" => "perl",
+ "module_name" => "Module::Runtime::Conflicts",
+ "recommends" => {},
+ "recursive_test_files" => 1,
+ "requires" => {
+ "Dist::CheckConflicts" => 0,
+ "Module::Runtime" => 0,
+ "perl" => "5.006",
+ "strict" => 0,
+ "warnings" => 0
+ },
+ "script_files" => [],
+ "test_requires" => {
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "Test::More" => "0.88",
+ "if" => 0,
+ "perl" => "5.006"
+ }
+ );
+
+
+ my %fallback_build_requires = (
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "Test::More" => "0.88",
+ "if" => 0,
+ "perl" => "5.006"
+ );
+
+
+ unless ( eval { Module::Build->VERSION(0.4004) } ) {
+ delete $module_build_args{test_requires};
+ $module_build_args{build_requires} = \%fallback_build_requires;
+ }
+
+ my $build = Module::Build->new(%module_build_args);
+
+ $build->create_build_script;
+}