Permalink
Browse files

Move to Dist::Zilla!

  • Loading branch information...
1 parent 31f022b commit 6912ea19a2edda449c28f695494841ccd4d7b206 @rcaputo committed Apr 19, 2010
Showing with 38 additions and 79 deletions.
  1. +0 −43 MANIFEST
  2. +0 −34 Makefile.PL
  3. +38 −0 dist.ini
  4. +0 −2 lib/Reflex.pm
View
@@ -1,43 +0,0 @@
-CHANGES
-MANIFEST
-META.yml
-Makefile.PL
-README
-eg/ExampleHelpers.pm
-eg/PoCoEvent.pm
-eg/PoCoPostback.pm
-eg/eg-01-discrete-observer.pl
-eg/eg-02-observed-new.pl
-eg/eg-03-observer-roles.pl
-eg/eg-04-inheritance.pl
-eg/eg-05-composition.pl
-eg/eg-06-moose-roles.pl
-eg/eg-07-wheel-run.pl
-eg/eg-08-observer-trait.pl
-eg/eg-09-emitter-trait.pl
-eg/eg-10-setup.pl
-eg/eg-11-poco-postback.pl
-eg/eg-12-poco-event.pl
-eg/eg-13-irc-bot.pl
-eg/eg-14-synopsis.pl
-eg/eg-15-handle.pl
-eg/eg-16-timer-inheritance.pl
-eg/eg-17-inheritance-no-moose.pl
-eg/eg-18-synopsis-no-moose.pl
-lib/Reflex.pm
-lib/Reflex/Handle.pm
-lib/Reflex/Object.pm
-lib/Reflex/PID.pm
-lib/Reflex/POE/Event.pm
-lib/Reflex/POE/Postback.pm
-lib/Reflex/POE/Session.pm
-lib/Reflex/POE/Wheel.pm
-lib/Reflex/POE/Wheel/Run.pm
-lib/Reflex/Role/Object.pm
-lib/Reflex/Role/UdpPeer.pm
-lib/Reflex/Signal.pm
-lib/Reflex/Timer.pm
-lib/Reflex/Trait/Emitter.pm
-lib/Reflex/Trait/Observer.pm
-lib/Reflex/UdpPeer.pm
-t/00_info.t
View
@@ -1,34 +0,0 @@
-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'
- ),
- },
-);
View
@@ -0,0 +1,38 @@
+name = Reflex
+version = 0.003
+author = Rocco Caputo <rcaputo@cpan.org>
+license = Perl_5
+copyright_holder = Rocco Caputo
+
+[MetaResources]
+bugtracker = http://rt.cpan.org/Public/Dist/Display.html?Name=Reflex
+repository = http://github.com/rcaputo/reflex
+
+[Prereq]
+Scalar::Util = 1.21
+POE = 1.268
+Test::More = 0.94
+Moose = 0.92
+
+[ReadmeFromPod]
+[ReadmeMarkdownFromPod]
+[AllFiles]
+[PruneCruft]
+[ManifestSkip]
+[MetaYAML]
+[License]
+[PkgVersion]
+[PodVersion]
+[PodTests]
+[ExtraTests]
+[ReportVersions]
+[InstallDirs]
+[MakeMaker]
+[ChangelogFromGit]
+
+; Goes last to pick up generated files.
+[Manifest]
+
+; Release.
+[TestRelease]
+[UploadToCPAN]
View
@@ -5,8 +5,6 @@ use strict;
use Carp qw(croak);
-our $VERSION = '0.003';
-
sub import {
my $class = shift;
my $caller_package = caller();

0 comments on commit 6912ea1

Please sign in to comment.