Commit | Line | Data |
40aef9d6 |
1 | #!/usr/bin/env perl |
2 | use warnings; |
3 | use strict; |
4 | |
5 | use inc::Module::Install; |
6 | |
7 | name q{namespace-clean}; |
8 | license q{perl}; |
bafb291c |
9 | author q{Robert 'phaylon' Sedlacek <rs@474.at>}; |
40aef9d6 |
10 | all_from q{lib/namespace/clean.pm}; |
11 | |
226432f6 |
12 | build_requires q{Test::More}, '0.88'; |
40aef9d6 |
13 | build_requires q{FindBin}, 0; |
14 | |
426562e2 |
15 | requires q{B::Hooks::EndOfScope}, '0.07'; |
40aef9d6 |
16 | requires q{Symbol}, 0; |
07fbef3d |
17 | requires q{Sub::Name}, '0.04'; |
18 | requires q{Sub::Identify}, '0.04'; |
40aef9d6 |
19 | |
472d4b1e |
20 | auto_provides; |
472d4b1e |
21 | |
22 | if (-e 'MANIFEST.SKIP') { |
23 | |
24 | print "Creating README file\n"; |
25 | system 'pod2text lib/namespace/clean.pm > README'; |
26 | |
27 | print "Adding author tests to 'make test' run\n"; |
28 | tests 't/*.t t_author/*.t'; |
29 | } |
30 | |
40aef9d6 |
31 | WriteAll; |