Test harness skips globals, funcs, mibs, and munges tests if the hash is empty Add test to check that subclass methods have coverage with ability to mark class as TODO
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Perl
		
	
	
	
	
	
| use strict;
 | ||
| use warnings;
 | ||
| use Module::Build;
 | ||
| 
 | ||
| Module::Build->new(
 | ||
|   module_name => 'SNMP::Info',
 | ||
|   license     => 'bsd',
 | ||
|   dist_author => 'Eric A. Miller <emiller@cpan.org>',
 | ||
|   # dynamic_config => 1,
 | ||
|   create_readme => 1,
 | ||
|   configure_requires => {
 | ||
|     'Module::Build' => '0.42',
 | ||
|   },
 | ||
|   # build_requires => {
 | ||
|   # },
 | ||
|   requires => {
 | ||
|     'SNMP' => '0',
 | ||
|     'Math::BigInt' => '0',
 | ||
|   },
 | ||
|   recommends => {
 | ||
|     'PPI' => '0',
 | ||
|     'Class::ISA' => '0',
 | ||
|     'Module::Info' => '0',
 | ||
|     'Module::Load' => '0',
 | ||
|     'File::Slurp' => '0',
 | ||
|   },
 | ||
|   test_requires => {
 | ||
|     'Test::More' => '0.88',
 | ||
|     'Test::Distribution' => '0',
 | ||
|     'Test::Class::Most'  => '0',
 | ||
|     'Test::MockObject::Extends' => '0',
 | ||
|     'File::Find' => '0',
 | ||
|     'Path::Class' => '0',
 | ||
|     'File::Slurper' => '0',
 | ||
|     'Test::Exception' => '0.43',
 | ||
|     'Class::Inspector' => '0',
 | ||
|   },
 | ||
|   # script_files => [
 | ||
|   # ],
 | ||
|   # share_dir => 'share',
 | ||
|   meta_merge => {
 | ||
|     resources => {
 | ||
|       homepage => 'http://netdisco.org/',
 | ||
|       bugtracker => 'https://github.com/netdisco/snmp-info/issues',
 | ||
|       repository => 'https://github.com/netdisco/snmp-info',
 | ||
|       MailingList => 'https://lists.sourceforge.net/lists/listinfo/snmp-info-users',
 | ||
|       IRC => 'irc://irc.freenode.org/#netdisco',
 | ||
|     },
 | ||
|   },
 | ||
| )->create_build_script;
 |