Permalink
Browse files

add document, add local::lib

  • Loading branch information...
1 parent a1d3c1f commit 0ccf5ae087c1aa71672a384cf66daadf3f4a574d @hideo55 committed Jul 26, 2011
Showing with 12 additions and 20 deletions.
  1. +1 −0 Makefile.PL
  2. +7 −19 README
  3. +4 −1 metacpan-growler.pl
View
@@ -5,6 +5,7 @@ all_from "metacpan-growler.pl";
install_script "metacpan-growler.pl";
requires 'Cocoa::Growl';
+requires 'Cocoa::EventLoop';
requires 'AnyEvent';
requires 'AnyEvent::HTTP';
requires 'Data::MessagePack';
View
26 README
@@ -1,27 +1,15 @@
-This is Perl module metacpan-growler.
+This is MetaCPAN Growler: fetches MetaCPAN recent update modules and growls as new activies are coming in.
INSTALLATION
-metacpan-growler installation is straightforward. If your CPAN shell is set up,
-you should just be able to do
+ Just run github-growler.pl. You might need to install its CPAN module dependencies with cpan -i . command.
- % cpan metacpan-growler
+Configurations
-Download it, unpack it, then build it as per the usual:
+By default this scripts fetches the github updates every 300 seconds, displays at most 10 Growl notification per fetch and caches author information recent 100 authors and you can change the both settings with Mac OS X preferences:
- % perl Makefile.PL
- % make && make test
-
-Then install it:
-
- % make install
-
-DOCUMENTATION
-
-metacpan-growler documentation is available as in POD. So you can do:
-
- % perldoc metacpan-growler
-
-to read the documentation online with your favorite pager.
+ defaults write com.github.hideo55.metacpangrowler interval 300
+ defaults write com.github.hideo55.metacpangrowler maxGrowls 10
+ defaults write com.github.hideo55.metacpangrowler cacheSize 100
Hideaki Ohno
View
@@ -1,7 +1,10 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use strict;
use warnings;
+use FindBin;
+use lib "$FindBin::Bin/extlib/lib/perl5";
+
use Cocoa::Growl;
use Cocoa::EventLoop;
use AnyEvent;

0 comments on commit 0ccf5ae

Please sign in to comment.