use strict; use warnings; use inc::Module::Install; my $dist = 'JSON-Path'; my $fn = "lib/$dist.pm"; $fn =~ s#-#/#g; name $dist; perl_version_from $fn; version_from $fn; abstract_from $fn; readme_from $fn; author 'Toby Inkster '; license 'mit'; requires 'common::sense' => 0; requires 'Error' => 0; requires 'JSON' => 0; requires 'Scalar::Util' => 0; test_requires 'Test::More' => '0.61'; resources( 'homepage' => "https://metacpan.org/release/$dist", 'repository' => "http://goddamn.co.uk/svn-web/perlmods/browse/$dist/", 'bugtracker' => "http://rt.cpan.org/Dist/Display.html?Queue=$dist", ); write_doap_changes; write_doap_changes_xml; auto_install; WriteAll( 'meta' => 1, 'sign' => 1, );