Set up ExtUtils::MakeMaker build

This commit is contained in:
Chris 2020-02-14 15:47:20 +00:00
parent 105840a1d2
commit f617764c75
6 changed files with 111 additions and 0 deletions

18
.gitignore vendored
View File

@ -1 +1,19 @@
*~
docs/
Makefile
Makefile.old
Build
Build.bat
META.*
MYMETA.*
.build/
_build/
cover_db/
blib/
inc/
.lwpcookies
.last_cover_stats
nytprof.out
pod2htm*.tmp
pm_to_blib
Webperl*.tar.gz

31
MANIFEST Normal file
View File

@ -0,0 +1,31 @@
Makefile.PL
MANIFEST This list of files
README.md
t/00-load.t
lib/Webperl/System.pm
lib/Webperl/Modules.pm
lib/Webperl/SystemModule.pm
lib/Webperl/AuthMethods.pm
lib/Webperl/Template.pm
lib/Webperl/BlockSelector.pm
lib/Webperl/Block.pm
lib/Webperl/Auth.pm
lib/Webperl/HTMLValidator.pm
lib/Webperl/ConfigMicro.pm
lib/Webperl/AppUser.pm
lib/Webperl/AuthMethod.pm
lib/Webperl/Application.pm
lib/Webperl/Utils.pm
lib/Webperl/Message/Queue.pm
lib/Webperl/Message/Transport/Local.pm
lib/Webperl/Message/Transport/Email.pm
lib/Webperl/Message/Transport.pm
lib/Webperl/Daemon.pm
lib/Webperl/SessionHandler.pm
lib/Webperl/AuthMethod/Database.pm
lib/Webperl/AuthMethod/LDAP.pm
lib/Webperl/AuthMethod/SSH.pm
lib/Webperl/AuthMethod/LDAPS.pm
lib/Webperl/Logger.pm
lib/Webperl/Message.pm
lib/Webperl.pm

26
Makefile.PL Normal file
View File

@ -0,0 +1,26 @@
use 5.006;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Webperl',
AUTHOR => q{Chris <chris@starforge.co.uk>},
VERSION_FROM => 'lib/Webperl.pm',
ABSTRACT_FROM => 'lib/Webperl.pm',
LICENSE => 'GPL v3',
PL_FILES => {},
MIN_PERL_VERSION => 5.006,
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
},
BUILD_REQUIRES => {
'Test::More' => 0,
},
PREREQ_PM => {
#'ABC' => 1.6,
#'Foo::Bar::Module' => 5.0401,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Webperl*' },
);

17
ignore.txt Normal file
View File

@ -0,0 +1,17 @@
Makefile
Makefile.old
Build
Build.bat
META.*
MYMETA.*
.build/
_build/
cover_db/
blib/
inc/
.lwpcookies
.last_cover_stats
nytprof.out
pod2htm*.tmp
pm_to_blib
Webperl*.tar.gz

View File

@ -24,6 +24,8 @@ package Webperl;
use strict;
use Webperl::Application;
our $VERSION = "3.11";
# ============================================================================
# Constructor

17
t/00-load.t Normal file
View File

@ -0,0 +1,17 @@
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
plan tests => 1;
BEGIN {
use_ok( 'Webperl::Application' ) || print "Bail out!\n";
use_ok( 'Webperl::Block' ) || print "Bail out!\n";
use_ok( 'Webperl::AppUser' ) || print "Bail out!\n";
use_ok( 'Webperl::BlockSelector' ) || print "Bail out!\n";
use_ok( 'Webperl::System' ) || print "Bail out!\n";
}
diag( "Testing Webperl $Webperl::VERSION, Perl $], $^X" );