projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d18ffd1
)
Makefile.PL accepts --author option, to install author's prerequisites
gfx [Mon, 8 Mar 2010 05:51:33 +0000 (14:51 +0900)]
Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index
cbcd6ae
..
daf48fa
100755
(executable)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-1,3
+1,11
@@
+# for developpers:
+BEGIN{
+ if(grep{ $_ eq '--author' } @ARGV){
+ print "^X -S cpanm < author/requires.cpanm\n";
+ system "$^X -S cpanm < author/requires.cpanm";
+ }
+}
+
use strict;
use warnings;
use inc::Module::Install;