-
Notifications
You must be signed in to change notification settings - Fork 28
/
Makefile.PL
120 lines (101 loc) · 2.95 KB
/
Makefile.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
#!/usr/bin/env perl -w
# Copyright (c) 2010-2011 Yahoo! Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
use inc::Module::Install;
name 'pogo';
all_from 'lib/Pogo.pm';
perl_version '5.008';
requires 'common::sense';
requires 'AnyEvent';
requires 'AnyEvent::HTTPD';
requires 'Authen::PAM';
requires 'constant';
requires 'Exporter';
requires 'Data::Dumper';
requires 'Text::Wrap';
requires 'Term::ReadKey';
requires 'Pod::Escapes';
requires 'version';
requires 'YAML';
requires 'ExtUtils::Install';
requires 'ExtUtils::CBuilder';
requires 'ExtUtils::Manifest';
requires 'ExtUtils::Command';
requires 'Log::Log4perl';
requires 'ExtUtils::ParseXS';
requires 'CPAN';
requires 'Pod::Simple';
requires 'Pod::Parser';
requires 'Sysadm::Install';
requires 'YAML::Syck';
requires 'Pod::Usage';
requires 'Getopt::Long';
requires 'ExtUtils::MakeMaker';
requires 'Module::Build';
requires 'local::lib';
requires 'Crypt::OpenSSL::RSA';
requires 'Crypt::OpenSSL::Random';
requires 'Crypt::OpenSSL::X509';
requires 'JSON';
requires 'File::Slurp';
requires 'GnuPG';
requires 'Module::Pluggable';
requires 'Net::SSLeay';
#requires 'Net::ZooKeeper';
requires 'AnyEvent::HTTPD';
requires 'JSON::XS';
requires 'MIME::Types';
requires 'PasswordMonkey';
requires 'Plack';
requires 'Proc::Simple';
requires 'Set::Scalar';
requires 'String::Glob::Permute';
requires 'Template';
requires 'Text::ASCIITable';
# until bug gets fixed, use included Pogo::..."
# requires 'Plack::Handler::AnyEvent::HTTPD';
requires 'YAML::LibYAML';
requires 'AnyEvent::HTTP';
requires 'String::Glob::Permute';
test_requires 'Test::Harness';
test_requires 'Test';
test_requires 'Test::Simple';
test_requires 'Test::Deep';
test_requires 'Test::Exception';
test_requires 'Test::MockObject';
test_requires 'Test::Requires';
test_requires 'FindBin';
test_requires 'Net::SSLeay';
test_requires 'Proc::Simple';
test_requires 'Test::More';
postamble <<'HUDSONSTUFF';
# hudson targets
TESTRESULTDIR := ./test-results
TESTDIR := ./t
TESTS := $(wildcard $(TESTDIR)/*.t)
TESTRESULTS := $(patsubst $(TESTDIR)/%.t,$(TESTRESULTDIR)/%.xml,$(TESTS))
hudson : $(TESTS) $(TESTRESULTS)
FORMATTER := --formatter TAP::Formatter::JUnit
hudson-clean :
rm -f $(TESTRESULTS)
rm -rf $(TESTRESULTDIR)
$(TESTS) : | $(TESTRESULTDIR)
$(TESTRESULTDIR) :
mkdir $(TESTRESULTDIR)
$(TESTRESULTDIR)/%.xml : $(TESTDIR)/%.t
prove -Ilib -I$(TESTDIR)/lib --timer $(FORMATTER) $< > $@ || exit 0
HUDSONSTUFF
WriteAll;
1;
# vim:syn=perl:sw=2:ts=2:sts=2:et:fdm=marker