Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 40 lines (31 sloc) 0.998 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
#!/usr/bin/env perl

use 5.008007;

use strict;
use warnings;

use ExtUtils::MakeMaker;

my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/;

WriteMakefile(
    NAME => 'Routes::Tiny',
    VERSION_FROM => 'lib/Routes/Tiny.pm',
    ABSTRACT => 'Routes',
    AUTHOR => 'Viacheslav Tykhanovskyi <vti@cpan.org>',

    ($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')),

    ( $mm < 6.46
        ? ()
        : ( META_MERGE => {
                requires => {perl => '5.008007'},
                resources => {
                    license => 'http://dev.perl.org/licenses/',
                    repository => 'http://github.com/vti/routes-tiny'
                },
                no_index => {directory => [qw/t/]}
            },
            META_ADD => {
                build_requires => {},
                configure_requires => {}
            },
        )
    ),

    PREREQ_PM => {'Carp' => '0'},
    test => {TESTS => 't/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t'}
);
Something went wrong with that request. Please try again.