Permalink
Browse files

use Dist::Zilla for Distribution

  • Loading branch information...
1 parent dbca263 commit 73b97810f827945f3374cd68d0da473e38b0769e @aanoaa committed Oct 11, 2012
Showing with 22 additions and 73 deletions.
  1. +0 −70 Makefile.PL
  2. +18 −0 dist.ini
  3. +0 −3 lib/Hubot/Robot.pm
  4. +4 −0 weaver.ini
View
@@ -1,70 +0,0 @@
-use strict;
-use warnings;
-use ExtUtils::MakeMaker 6.30;
-
-my %WriteMakefileArgs = (
- "ABSTRACT" => "Hubot perl port",
- "AUTHOR" => "Hyungsuk Hong <hshong\@perl.kr>",
- "BUILD_REQUIRES" => {
- "Test::More" => 0
- },
- "CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
- },
- "DISTNAME" => "Hubot",
- "EXE_FILES" => [
- "bin/hubot"
- ],
- "LICENSE" => "perl",
- "NAME" => "Hubot",
- "PREREQ_PM" => {
- "AnyEvent" => 0,
- "AnyEvent::HTTP" => 0,
- "AnyEvent::HTTP::ScopedClient" => 0,
- "AnyEvent::IRC::Client" => 0,
- "AnyEvent::Campfire::Stream" => 0,
- "AnyEvent::Campfire::Client" => 0,
- "Cwd" => 0,
- "Encode" => 0,
- "File::Slurp" => 0,
- "Getopt::Long::Descriptive" => 0,
- "HTTP::Request" => 0,
- "JSON::XS" => 0,
- "MIME::Base64" => 0,
- "Moose" => 0,
- "Pod::Usage" => 0,
- "Time::HiRes" => 0,
- "Try::Tiny" => 0,
- "URI" => 0,
- "URI::QueryParam" => 0,
- "LWP::UserAgent" => 0,
- "HTTP::Request" => 0,
- "namespace::autoclean" => 0,
- "strict" => 0,
- "utf8" => 0,
- "warnings" => 0,
- "LWP::Protocol::https" => 0,
- },
- "VERSION" => "0.0.1",
- "test" => {
- "TESTS" => "t/*.t"
- }
-);
-
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
-}
-
-delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
- unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
-
-WriteMakefile(%WriteMakefileArgs);
View
@@ -0,0 +1,18 @@
+name = Hubot
+abstract = L<AnyEvent> based L<https://github.com/github/hubot>
+author = Hyungsuk Hong <hshong@perl.kr>
+license = Perl_5
+copyright_holder = Hyungsuk Hong
+copyright_year = 2012
+version = 0.0.1
+
+[@Filter]
+-bundle = @Basic
+-remove = License
+-remove = Readme
+option = for_basic
+[AutoPrereqs]
+[PkgVersion]
+[InstallGuide]
+;[PodWeaver]
+;[ReadmeMarkdownFromPod]
View
@@ -1,7 +1,4 @@
package Hubot::Robot;
-{
- $Hubot::Robot::VERSION = '0.0.1';
-}
use Moose;
use namespace::autoclean;
View
@@ -0,0 +1,4 @@
+[@Default]
+
+[-Encoding]
+encoding = utf-8

0 comments on commit 73b9781

Please sign in to comment.