Permalink
Browse files

switch to Distar

  • Loading branch information...
shadowcat-mst committed Apr 6, 2012
1 parent 6515e3f commit 7cf346e6db060015fc4bafa35d15609542e065ef
Showing with 34 additions and 16 deletions.
  1. +13 −0 Makefile.PL
  2. +0 −15 dist.ini
  3. +14 −1 lib/MooX/Types/MooseLike.pm
  4. +7 −0 maint/Makefile.PL.include
View
@@ -0,0 +1,13 @@
+use strict;
+use warnings FATAL => 'all';
+use 5.008001;
+use ExtUtils::MakeMaker;
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+
+WriteMakefile(
+ NAME => 'MooX-Types-MooseLike',
+ VERSION_FROM => 'lib/MooX/Types/MooseLike.pm',
+ PREREQ_PM => {
+ Moo => '0.009015',
+ }
+);
View
@@ -1,15 +0,0 @@
-name = MooX-Types-MooseLike
-abstract = Moose Like Types for Moo
-
-[AutoPrereqs]
-[@Basic]
-
-[Git::NextVersion]
-[PkgVersion]
-[NextRelease]
-
-[@Git]
-
-[@TestingMania]
-disable = Test::Kwalitee, EOLTests, PodCoverageTests, Test::DistManifest
-
@@ -1,8 +1,11 @@
-use strictures 1;
package MooX::Types::MooseLike;
+
+use strictures 1;
use Exporter 5.57 'import';
use Module::Runtime qw(require_module);
+our $VERSION = '0.04';
+
sub register_types {
my ($type_definitions, $into, $moose_namespace) = @_;
foreach my $type_def (@{$type_definitions}) {
@@ -89,4 +92,14 @@ See L<MooX::Types::MooseLike::Base> for an example of how to build base types.
See L<MooX::Types::MooseLike::Numeric> for an example of how to build subtypes.
+=head1 COPYRIGHT
+
+Copyright (c) 2011-2012 the MooX::Types::MooseLike L</AUTHOR> and
+ L</CONTRIBUTORS> as listed above.
+
+=head1 LICENSE
+
+This library is free software and may be distributed under the same terms
+as perl itself.
+=cut
@@ -0,0 +1,7 @@
+BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") }
+use lib 'Distar/lib';
+use Distar;
+
+author 'mateu - Mateu X. Hunter (cpan:MATEU) <hunter@missoula.org>';
+
+1;

0 comments on commit 7cf346e

Please sign in to comment.