Permalink
Browse files

initial import of Dist-Zilla-Plugin-CheckExtraTests

  • Loading branch information...
0 parents commit d45305d515ac083ef36c160ecf31c8da0f4429b3 @xdg xdg committed Mar 20, 2010
Showing with 149 additions and 0 deletions.
  1. +16 −0 .gitignore
  2. +5 −0 Changes
  3. +5 −0 Todo
  4. +65 −0 dist.ini
  5. +43 −0 lib/Dist/Zilla/Plugin/CheckExtraTests.pm
  6. +13 −0 t/dist-zilla-plugin-checkextratests.t
  7. +2 −0 weaver.ini
@@ -0,0 +1,16 @@
+*.bak
+*.old
+*.tmp
+*.tar.gz
+*~
+/Build
+/Build.bat
+/Makefile
+/_build
+/.build
+/blib
+/cover_db
+/pm_to_blib
+/PM_to_blib
+/MYMETA.yml
+/Dist-Zilla-Plugin-CheckExtraTests-*
@@ -0,0 +1,5 @@
+Revision history for Dist-Zilla-Plugin-CheckExtraTests
+
+{{$NEXT}}
+
+ - first draft
5 Todo
@@ -0,0 +1,5 @@
+Revision history for Dist-Zilla-Plugin-CheckExtraTests
+
+- Write some code
+- Write some tests
+- Replace boilerplate docs with real documentation
@@ -0,0 +1,65 @@
+name = Dist-Zilla-Plugin-CheckExtraTests
+author = David Golden <dagolden@cpan.org>
+license = Apache_2_0
+copyright_holder = David Golden
+
+version = 0.001 ; REMOVE ME AFTER FIRST RELEASE
+
+[BumpVersionFromGit]
+version_regexp = ^release-(.+)$
+
+; -- fetch & generate files
+[AllFiles]
+[CompileTests]
+fake_home = 1
+; skip = ...
+;[CriticTests]
+[MetaTests]
+[PodTests]
+
+; -- remove some files
+[PruneCruft]
+[ManifestSkip]
+
+; -- get prereqs
+[Prereq]
+; or [AutoPrereq]
+
+; -- munge files
+[PkgVersion]
+[NextRelease]
+[PodWeaver]
+[Prepender]
+;[ExtraTests]
+
+; -- dynamic meta-information
+[InstallDirs]
+[MetaProvides::Package]
+[Repository]
+git_remote = github
+
+; -- generate meta files
+[MetaNoIndex]
+directory = t
+directory = xt
+directory = examples
+[License]
+[MakeMaker]
+[MetaYAML]
+[ReadmeFromPod]
+[Manifest] ; should come last
+
+; -- pre-release
+[Git::Check]
+
+; -- release
+[UploadToCPAN]
+
+; -- post-release
+[Git::Commit]
+[Git::Tag]
+tag_format = release-%v
+[Git::Push]
+push_to = origin
+push_to = github
+
@@ -0,0 +1,43 @@
+use strict;
+use warnings;
+package Dist::Zilla::Plugin::CheckExtraTests;
+# ABSTRACT: a module for CPAN
+
+# Dependencies
+use autodie 2.00;
+use Moose 0.99;
+use namespace::autoclean 0.09;
+
+# extends, roles, attributes, etc.
+
+# methods
+
+__PACKAGE__->meta->make_immutable;
+
+1;
+
+__END__
+
+=begin wikidoc
+
+= SYNOPSIS
+
+ use Dist::Zilla::Plugin::CheckExtraTests;
+
+= DESCRIPTION
+
+This module might be cool, but you'd never know it from the lack
+of documentation.
+
+= USAGE
+
+Good luck!
+
+= SEE ALSO
+
+Maybe other modules do related things.
+
+=end wikidoc
+
+=cut
+
@@ -0,0 +1,13 @@
+use strict;
+use warnings;
+
+use Test::More 0.88; END { done_testing }
+use Test::Exception 0.29;
+
+# Work around buffering that can show diags out of order
+Test::More->builder->failure_output(*STDOUT) if $ENV{HARNESS_VERBOSE};
+
+my ($obj);
+require_ok( 'Dist::Zilla::Plugin::CheckExtraTests' );
+$obj = new_ok( 'Dist::Zilla::Plugin::CheckExtraTests' ); # add \@args, if needed
+
@@ -0,0 +1,2 @@
+[-WikiDoc]
+[@Default]

0 comments on commit d45305d

Please sign in to comment.