forked from mpeters/smolder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
131 lines (128 loc) · 5.73 KB
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
use strict;
use warnings;
use File::Spec::Functions qw(catdir);
use Config;
use lib 'lib';
use Smolder::Build;
my $builder = Smolder::Build->new(
module_name => 'Smolder',
license => 'perl',
dist_author => 'Michael Peters <[email protected]>',
dist_version_from => 'lib/Smolder.pm',
requires => {
'CGI::Application' => 4.21,
'CGI::Application::Dispatch' => 2.15,
'CGI::Application::Server' => 0.060,
'CGI::Application::Plugin::JSON' => 1.01,
'CGI::Application::Plugin::LogDispatch' => 1.02,
'CGI::Application::Plugin::Stream' => 2.10,
'CGI::Application::Plugin::TT' => 1.04,
'CGI::Application::Plugin::ValidateRM' => 2.3,
'Class::DBI' => 3.0,
'Class::DBI::AbstractSearch' => 0.07,
'Class::DBI::SQLite' => 0,
'Class::DBI::Plugin::RetrieveAll' => 1.04,
'Data::FormValidator' => 4.61,
'Data::FormValidator::Constraints::DateTime' => 1.09,
'Data::Random' => 0.05,
'DateTime' => 0.4501,
'DateTime::Format::Strptime' => 0,
'DBD::SQLite' => 1.20,
'Digest::MD5' => 0,
'Email::Valid' => 0,
'Exception::Class' => 1.23,
'File::MMagic' => 0,
'File::ShareDir' => 1.00,
'File::HomeDir' => 0.80,
'File::Slurp' => 0,
'File::Temp' => 0.21,
'File::Path' => 2.04,
'Getopt::Long' => 0,
'GD::Graph' => 0,
'GD::Graph3d' => 0,
'GD::Text' => 0,
'HTML::FillInForm' => 2.00,
'HTML::FormatText::WithLinks' => 0,
'HTML::TagCloud' => 0.34,
'IO::Scalar' => 0,
'IO::Zlib' => 0,
'JSON' => 0,
'MIME::Lite' => 0,
'Net::Server::PreFork' => 0,
'Pod::Usage' => 0,
'TAP::Harness::Archive' => 0.12,
'Test::Harness' => 3.17,
'Template::Plugin::Cycle' => 0,
'Template::Plugin::Number::Format' => 0,
'URI::Escape' => 0,
'URI::file' => 0,
'XML::Atom::SimpleFeed' => 0,
},
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
'Test::WWW::Mechanize' => 1.22,
'Test::Builder' => 0.86,
'Test::More' => 0.86,
'LWP::UserAgent' => 0,
'IPC::Run' => 0.82,
'WWW::Mechanize' => 0,
'File::Find' => 0,
'File::Copy' => 0,
'Module::Build' => 0,
},
add_to_cleanup => ['data/*', 'logs/*', 'Smolder-*'],
meta_add => {
no_index => {
file => [qw(
lib/Smolder/AuthHandler.pm
lib/Smolder/AuthInfo.pm
lib/Smolder/Build.pm
lib/Smolder/Conf.pm
lib/Smolder/Constraints.pm
lib/Smolder/Control.pm
lib/Smolder/Control/Admin.pm
lib/Smolder/Control/Developer.pm
lib/Smolder/Control/Graphs.pm
lib/Smolder/Control/Projects.pm
lib/Smolder/Control/Public.pm
lib/Smolder/Control/Admin/Developers.pm
lib/Smolder/Control/Admin/Projects.pm
lib/Smolder/Control/Developer/Prefs.pm
lib/Smolder/Control/Public/Auth.pm
lib/Smolder/DB/Developer.pm
lib/Smolder/DB/Preference.pm
lib/Smolder/DB/ProjectDeveloper.pm
lib/Smolder/DB/Project.pm
lib/Smolder/DB/SmokeReport.pm
lib/Smolder/DB/TestFileComment.pm
lib/Smolder/DB/TestFile.pm
lib/Smolder/DB/TestFileResult.pm
lib/Smolder/DB.pm
lib/Smolder/Dispatch.pm
lib/Smolder/Email.pm
lib/Smolder/Mech.pm
lib/Smolder/Redirect.pm
lib/Smolder/Server.pm
lib/Smolder/TAPHTMLMatrix.pm
lib/Smolder/TestData.pm
lib/Smolder/TestScript.pm
lib/Smolder/Upgrade.pm
lib/Smolder/Util.pm
lib/Smolder/Upgrade/V0_1.pm
lib/Smolder/Upgrade/V0_3.pm
lib/Smolder/Upgrade/V1_1.pm
lib/Smolder/Upgrade/V1_21.pm
lib/Smolder/Upgrade/V1_24.pm
lib/Smolder/Upgrade/V1_30.pm
lib/Smolder/Upgrade/V1_37.pm
lib/Smolder/Upgrade/V1_50.pm
)],
},
},
);
$builder->add_build_element('templates');
$builder->add_build_element('sql');
$builder->add_build_element('htdocs');
$builder->create_build_script();