| use ExtUtils::MakeMaker; |
| |
| sub MY::postamble { |
| my $postamble = <<'MAKE_FRAG'; |
| .PHONY: tags |
| |
| tags: |
| ctags -f tags --recurse --totals \ |
| --exclude=blib \ |
| --exclude='*~' \ |
| --languages=Perl --langmap=Perl:+.t \ |
| MAKE_FRAG |
| } |
| |
| WriteMakefile( |
| NAME => 'ANTLR::Runtime', |
| VERSION_FROM => 'lib/ANTLR/Runtime.pm', |
| LICENSE => 'perl', |
| ABSTRACT_FROM => 'lib/ANTLR/Runtime.pm', |
| AUTHOR => 'Ronald Blaschke <[email protected]>', |
| PREREQ_PM => { |
| 'Carp' => '1.04', |
| 'Moose' => '0.82', |
| 'Readonly' => '1.03', |
| 'Test::Class' => '0.28', |
| }, |
| test => { TESTS => 't/*.t t/examples/*.t' }, |
| ); |