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}; |
9 | author q{Robert 'phaylon' Sedlacek <rs@474.at>}; |
10 | all_from q{lib/namespace/clean.pm}; |
11 | |
12 | build_requires q{Test::More}, '0.62'; |
13 | build_requires q{FindBin}, 0; |
14 | |
15 | requires q{Filter::EOF}, '0.02'; |
16 | requires q{Symbol}, 0; |
17 | |
472d4b1e |
18 | auto_provides; |
19 | auto_install; |
20 | |
21 | if (-e 'MANIFEST.SKIP') { |
22 | |
23 | print "Creating README file\n"; |
24 | system 'pod2text lib/namespace/clean.pm > README'; |
25 | |
26 | print "Adding author tests to 'make test' run\n"; |
27 | tests 't/*.t t_author/*.t'; |
28 | } |
29 | |
40aef9d6 |
30 | WriteAll; |