Permalink
Browse files

Skeleton of a badly named module. Skeleton test

  • Loading branch information...
szabgab committed Oct 20, 2014
1 parent 89feb41 commit 4ca4244f6e51aa8ac0129ee72ad1000e79b105aa
Showing with 98 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +3 −0 Changes
  3. +65 −0 Makefile.PL
  4. +16 −0 lib/SCO.pm
  5. +10 −0 t/10-sco.t
View
@@ -0,0 +1,4 @@
/MYMETA.*
/Makefile
/blib/
/pm_to_blib
View
@@ -0,0 +1,3 @@
0.01
Start working on the application
View
@@ -0,0 +1,65 @@
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %conf = (
NAME => 'SCO',
AUTHOR => 'Gabor Szabo <szabgab@cpan.org>',
VERSION_FROM => 'lib/SCO.pm',
PREREQ_PM => {
},
);
if (eval { ExtUtils::MakeMaker->VERSION(6.3002) }) {
$conf{LICENSE} = 'perl';
}
if (eval { ExtUtils::MakeMaker->VERSION(6.46) }) {
$conf{META_MERGE} = {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'http://github.com/szabgab/sco.git',
web => 'http://github.com/szabgab/sco',
license => 'http://dev.perl.org/licenses/',
},
bugtracker => {
web => 'http://github.com/szabgab/sco/issues',
},
homepage => 'http://perlmaven.com/',
},
};
}
my %configure_requires = (
'ExtUtils::MakeMaker' => '6.64',
);
my %build_requires = ();
my %test_requires = (
'Test::More' => '1.00',
'Test::WWW::Mechanize' => '0',
);
### merging data "standard code"
if (eval { ExtUtils::MakeMaker->VERSION(6.52) }) {
$conf{CONFIGURE_REQUIRES} = \%configure_requires;
} else {
%{ $conf{PREREQ_PM} } = (%{ $conf{PREREQ_PM} }, %configure_requires);
}
if (eval { ExtUtils::MakeMaker->VERSION(6.5503) }) {
$conf{BUILD_REQUIRES} = \%build_requires;
} else {
%{ $conf{PREREQ_PM} } = (%{ $conf{PREREQ_PM} }, %build_requires);
}
if (eval { ExtUtils::MakeMaker->VERSION(6.64) }) {
$conf{TEST_REQUIRES} = \%test_requires;
} else {
%{ $conf{PREREQ_PM} } = (%{ $conf{PREREQ_PM} }, %test_requires);
}
WriteMakefile(%conf);
View
@@ -0,0 +1,16 @@
package SCO;
use strict;
use warnings;
our $VERSION = '0.01';
=head1 NAME
SCO - search.cpan.org clone
=cut
1;
View
@@ -0,0 +1,10 @@
use strict;
use warnings;
use Test::More;
use Test::WWW::Mechanize;
plan tests => 1;
pass;

0 comments on commit 4ca4244

Please sign in to comment.