Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 67 lines (53 sloc) 1.578 kb
33005030 »
2006-08-14 r16509@mel: andy | 2006-08-13 19:41:47 -0500
1 package main;
d1404134 »
2008-01-16 require 5.6.1
2
3 use 5.006001;
4
2fd9fbeb »
2006-07-30 First version in Google Code
5 use strict;
6 use warnings;
7 use ExtUtils::MakeMaker;
8
6cf8ef07 »
2008-01-14 ready to release 1.02
9 my %parms = (
2fd9fbeb »
2006-07-30 First version in Google Code
10 NAME => 'File::Next',
cb9226a2 »
2006-11-10 Added perl::critic stuff
11 AUTHOR => 'Andy Lester <andy@petdance.com>', ## no critic (RequireInterpolationOfMetachars)
2fd9fbeb »
2006-07-30 First version in Google Code
12 VERSION_FROM => 'Next.pm',
13 ABSTRACT_FROM => 'Next.pm',
14 PL_FILES => {},
15 PREREQ_PM => {
0bfd105b »
2012-10-29 Require Test::More 0.88
16 'Test::More' => 0.88,
a7426fe2 »
2006-09-01 r17182@mel: andy | 2006-08-31 19:30:18 -0500
17 'File::Spec' => 0,
2fd9fbeb »
2006-07-30 First version in Google Code
18 },
19 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
20 clean => { FILES => 'File-Next-*' },
21 );
33005030 »
2006-08-14 r16509@mel: andy | 2006-08-13 19:41:47 -0500
22
7688eec4 »
2009-07-30 Add tag support
23 if ( $ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/ and $ExtUtils::MakeMaker::VERSION > 6.30 ) {
a49c8224 »
2013-04-29 fixed license
24 $parms{LICENSE} = 'artistic_2';
7688eec4 »
2009-07-30 Add tag support
25 }
26
27 if ( $ExtUtils::MakeMaker::VERSION ge '6.46' ) {
28 $parms{META_MERGE} = {
29 resources => {
30 bugtracker => 'http://github.com/petdance/file-next/issues',
31 repository => 'http://github.com/petdance/file-next/tree/master',
32 license => 'http://dev.perl.org/licenses/',
33 }
34 };
35 }
6cf8ef07 »
2008-01-14 ready to release 1.02
36
37 WriteMakefile( %parms );
38
33005030 »
2006-08-14 r16509@mel: andy | 2006-08-13 19:41:47 -0500
39 sub MY::postamble {
40 return <<'MAKE_FRAG';
41 .PHONY: tags critic
42
7688eec4 »
2009-07-30 Add tag support
43 tags:
44 ctags -f tags --recurse --totals \
45 --exclude=blib \
46 --exclude=.git \
47 --exclude=.svn \
48 --exclude='*~' \
49 --languages=Perl --langmap=Perl:+.t \
50
33005030 »
2006-08-14 r16509@mel: andy | 2006-08-13 19:41:47 -0500
51 critic:
f87fcc0b »
2007-03-10 Improved the critic target
52 perlcritic -profile perlcriticrc -1 -quiet *.pm t/*.t
33005030 »
2006-08-14 r16509@mel: andy | 2006-08-13 19:41:47 -0500
53
18ecb56d »
2009-07-31 more nytprof support
54 TARGET_DIRS=~/parrot /usr/local/minicpan ~/bin
55
c6359443 »
2007-03-08 Added a prof target
56 prof: all
18ecb56d »
2009-07-31 more nytprof support
57 perl -d:DProf -Mblib ./stress $(TARGET_DIRS) > /dev/null
0350546f »
2007-10-04 updating the dprofpp
58 dprofpp -R
c6359443 »
2007-03-08 Added a prof target
59
5744aff9 »
2008-03-06 Added nytprof target
60 nytprof: all
18ecb56d »
2009-07-31 more nytprof support
61 perl -d:NYTProf -Mblib ./stress $(TARGET_DIRS) > /dev/null
5744aff9 »
2008-03-06 Added nytprof target
62 nytprofhtml
63
33005030 »
2006-08-14 r16509@mel: andy | 2006-08-13 19:41:47 -0500
64 MAKE_FRAG
65 }
66
67 1;
Something went wrong with that request. Please try again.