3 # Copyright 2010-2012 H.Merijn Brand
5 require 5.006; # <- also see postamble at the bottom for META.yml
8 use ExtUtils
::MakeMaker
;
11 NAME
=> "Test::Smoke::Metabase",
12 DISTNAME
=> "Test-Smoke-Metabase",
13 ABSTRACT
=> "Metabase interface for Test::Smoke",
14 AUTHOR
=> "H.Merijn Brand <h.merijn\@xs4all.nl>",
15 VERSION_FROM
=> "lib/Test/Smoke/Metabase.pm",
16 PREREQ_PM
=> { "base" => 2.14,
19 "Metabase::Client::Simple" => 0.008,
20 "Metabase::Fact::Hash" => 0.020,
22 BUILD_REQUIRES
=> { "Test::More" => 0,
25 $ExtUtils::MakeMaker
::VERSION
> 6.30 and $wm{LICENSE
} = "perl";
27 my $rv = WriteMakefile
(%wm);
35 my $min_vsn = ($] >= 5.010 && -d
"xt" && ($ENV{AUTOMATED_TESTING
} || 0) != 1)
38 ' -@env TEST_FILES="xt/*.t" make -e test_dynamic',
47 q{ sandbox/leaktest $(FULLPERLRUN) "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)},
50 ' pod-spell-check --aspell',
52 'checkmeta: spellcheck',
53 ' perl sandbox/genMETA.pl -c',
56 ' perl sandbox/genMETA.pl',
58 'tgzdist: checkmeta fixmeta $(DISTVNAME).tar.gz distcheck',
59 ' -@mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz',
60 ' -@cpants_lint.pl $(DISTVNAME).tgz',
61 ' -@rm -f Debian_CPANTS.txt',