Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 68 lines (53 sloc) 1.578 kB
3300503 @petdance r16509@mel: andy | 2006-08-13 19:41:47 -0500
authored
1 package main;
d140413 @petdance require 5.6.1
authored
2
3 use 5.006001;
4
2fd9fbe @petdance First version in Google Code
authored
5 use strict;
6 use warnings;
7 use ExtUtils::MakeMaker;
8
6cf8ef0 @petdance ready to release 1.02
authored
9 my %parms = (
2fd9fbe @petdance First version in Google Code
authored
10 NAME => 'File::Next',
cb9226a @petdance Added perl::critic stuff
authored
11 AUTHOR => 'Andy Lester <andy@petdance.com>', ## no critic (RequireInterpolationOfMetachars)
2fd9fbe @petdance First version in Google Code
authored
12 VERSION_FROM => 'Next.pm',
13 ABSTRACT_FROM => 'Next.pm',
14 PL_FILES => {},
15 PREREQ_PM => {
0bfd105 @petdance Require Test::More 0.88
authored
16 'Test::More' => 0.88,
a7426fe @petdance r17182@mel: andy | 2006-08-31 19:30:18 -0500
authored
17 'File::Spec' => 0,
2fd9fbe @petdance First version in Google Code
authored
18 },
19 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
20 clean => { FILES => 'File-Next-*' },
21 );
3300503 @petdance r16509@mel: andy | 2006-08-13 19:41:47 -0500
authored
22
7688eec @petdance Add tag support
authored
23 if ( $ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/ and $ExtUtils::MakeMaker::VERSION > 6.30 ) {
a49c822 @petdance fixed license
authored
24 $parms{LICENSE} = 'artistic_2';
7688eec @petdance Add tag support
authored
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 }
6cf8ef0 @petdance ready to release 1.02
authored
36
37 WriteMakefile( %parms );
38
3300503 @petdance r16509@mel: andy | 2006-08-13 19:41:47 -0500
authored
39 sub MY::postamble {
40 return <<'MAKE_FRAG';
41 .PHONY: tags critic
42
7688eec @petdance Add tag support
authored
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
3300503 @petdance r16509@mel: andy | 2006-08-13 19:41:47 -0500
authored
51 critic:
f87fcc0 @petdance Improved the critic target
authored
52 perlcritic -profile perlcriticrc -1 -quiet *.pm t/*.t
3300503 @petdance r16509@mel: andy | 2006-08-13 19:41:47 -0500
authored
53
18ecb56 @petdance more nytprof support
authored
54 TARGET_DIRS=~/parrot /usr/local/minicpan ~/bin
55
c635944 @petdance Added a prof target
authored
56 prof: all
18ecb56 @petdance more nytprof support
authored
57 perl -d:DProf -Mblib ./stress $(TARGET_DIRS) > /dev/null
0350546 @petdance updating the dprofpp
authored
58 dprofpp -R
c635944 @petdance Added a prof target
authored
59
5744aff @petdance Added nytprof target
authored
60 nytprof: all
18ecb56 @petdance more nytprof support
authored
61 perl -d:NYTProf -Mblib ./stress $(TARGET_DIRS) > /dev/null
5744aff @petdance Added nytprof target
authored
62 nytprofhtml
63
3300503 @petdance r16509@mel: andy | 2006-08-13 19:41:47 -0500
authored
64 MAKE_FRAG
65 }
66
67 1;
Something went wrong with that request. Please try again.