forked from rcaputo/reflex
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.PL
More file actions
34 lines (32 loc) · 963 Bytes
/
Copy pathMakefile.PL
File metadata and controls
34 lines (32 loc) · 963 Bytes
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
use ExtUtils::MakeMaker;
# Touch auto-generated files so we don't see warnings.
open(CHANGES, ">>CHANGES") and close CHANGES;
open(README, ">>README") and close README;
open(META, ">>META.yml") and close META;
WriteMakefile(
NAME => 'Reflex',
AUTHOR => 'Rocco Caputo <rcaputo@cpan.org>',
ABSTRACT => 'Reactive classes for flexible programs.',
LICENSE => 'perl',
VERSION_FROM => 'lib/Reflex.pm',
PREREQ_PM => {
'Scalar::Util' => 1.21,
'POE' => 1.268,
'Test::More' => 0.94,
'Moose' => 0.92,
},
META_ADD => {
resources => {
license => 'http://dev.perl.org/licenses/',
repository => 'http://github.com/rcaputo/reflex',
},
},
dist => {
COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
PREOP => (
'git-log.pl | tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES;' .
'LANG=C perldoc lib/Reflex.pm > README'
),
},
);