Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use Dist::Zilla

  • Loading branch information...
commit 25b5f6fe46f6d7d9dc8ca3ab84231cb82dece69e 1 parent 161bbc9
Robert Krimen authored
Showing with 26 additions and 105 deletions.
  1. +4 −0 Changes
  2. +0 −25 GNUmakefile
  3. +0 −36 MANIFEST
  4. +0 −44 Makefile.PL
  5. +22 −0 dist.ini
4 Changes
View
@@ -2,6 +2,10 @@ TODO:
- Test with '--' (huh?)
- Implement 'defer' sugar/backing
+0.017 Monday December 19 11:54:40 PST 2011:
+ - Update to be compatible with latest Path::Dispatcher
+ - Use Dist::Zilla
+
0.016 Friday June 05 09:36:58 PDT 2009:
- Removed Test::Trap dependency
25 GNUmakefile
View
@@ -1,25 +0,0 @@
-.PHONY: all test time clean distclean dist distcheck upload distupload
-
-all: test
-
-dist:
- rm -rf inc META.y*ml
- perl Makefile.PL
- $(MAKE) -f Makefile dist
-
-install distclean tardist: Makefile
- $(MAKE) -f $< $@
-
-test: Makefile
- perl Makefile.PL
- TEST_RELEASE=1 $(MAKE) -f $< $@
-
-Makefile: Makefile.PL
- perl $<
-
-clean: distclean
-
-reset: clean
- rm -rf inc META.y*ml
- perl Makefile.PL
- $(MAKE) test
36 MANIFEST
View
@@ -1,36 +0,0 @@
-Changes
-MANIFEST
-META.yml # Will be created by "make dist"
-Makefile.PL
-README
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
-lib/Getopt/Chain.pm
-lib/Getopt/Chain/Builder.pm
-lib/Getopt/Chain/Carp.pm
-lib/Getopt/Chain/Context.pm
-lib/Getopt/Chain/Declare.pm
-lib/Getopt/Chain/Declare/under.pm
-lib/Getopt/Chain/v005.pm
-lib/Getopt/Chain/v005/Carp.pm
-lib/Getopt/Chain/v005/Context.pm
-t/00-load.t
-t/01-basic.t
-t/03-declare.t
-t/04-capture.t
-t/05-declare-with-argument.t
-t/06-declare-and-extend.t
-t/10-usage.t
-t/99-synopsis.t
-t/release/boilerplate.t
-t/release/pod-coverage.t
-t/release/pod.t
-t/v005-01-basic.t
-t/v005-02-run.t
-t/v005-10-usage.t
44 Makefile.PL
View
@@ -1,44 +0,0 @@
-use inc::Module::Install;
-
-name 'Getopt-Chain';
-all_from 'lib/Getopt/Chain.pm';
-
-resources repository => 'http://github.com/robertkrimen/Getopt-Chain/tree/master';
-
-{
- require ExtUtils::MakeMaker;
- use strict;
- no strict 'refs';
-
- my $libscan = \&{"ExtUtils::MM_Any::libscan"};
- *{"ExtUtils::MM_Any::libscan"} = sub {
- return '' unless $libscan->(@_);
- return '' if $_[1] =~ /\.sw[p-z]$/;
- return $_[1];
- };
-}
-
-if (-e 'inc/.author') {
- my $all_from = join '/', 'lib', split m/-/, name . '.pm';
- `perldoc -tF $all_from > README` if ! -e 'README' || (stat $all_from)[9] > (stat 'README')[9];
-}
-
-{
- map { my ($pk, $vr) = split m/\s/; build_requires $pk => $vr || 0 } grep { ! /^\s*#/ } split m/\n/, <<_END_;
-Test::Most
-#Test::Trap
-_END_
-
- map { my ($pk, $vr) = split m/\s/; requires $pk => $vr || 0 } grep { ! /^\s*#/ } split m/\n/, <<_END_;
-Carp::Clan::Share
-Getopt::Long 2.37
-Hash::Param
-Moose
-MooseX::AttributeHelpers
-MooseX::MakeImmutable 0.02
-Path::Dispatcher
-Path::Dispatcher::Declarative
-_END_
-}
-
-WriteAll;
22 dist.ini
View
@@ -0,0 +1,22 @@
+name = Getopt-Chain
+author = Robert Krimen <robertkrimen@gmail.com>
+license = Perl_5
+copyright_holder = Robert Krimen
+version = 0.017
+
+[@ROKR]
+
+[Prereqs / TestRequires]
+Test::Most = 0
+
+[ExecDir]
+
+[Prereqs]
+Carp::Clan::Share = 0
+Getopt::Long = 2.37
+Hash::Param = 0
+Moose = 0
+MooseX::AttributeHelpers = 0
+MooseX::MakeImmutable = 0.02
+Path::Dispatcher = 0
+Path::Dispatcher::Declarative = 0
Please sign in to comment.
Something went wrong with that request. Please try again.