Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
add some tests, make perlcritic stricter
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>
  • Loading branch information
xenoterracide committed Feb 24, 2011
1 parent ab4ec22 commit 1eb7c13
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
14 changes: 14 additions & 0 deletions dist.ini
Expand Up @@ -21,6 +21,11 @@ repository.type = git
[OurPkgVersion]
[PodWeaver]

[MetaNoIndex]
file = perlcritic.rc

[MetaJSON]

[NextRelease]
format = %-9v %{MMM dd yyyy}d

Expand All @@ -36,9 +41,18 @@ repository.type = git
[MinimumVersionTests]
[PodCoverageTests]
[PodSyntaxTests]
[PortabilityTests]
[ReportVersions]
[UnusedVarsTests]

[PodSpellingTests]
wordlist = Pod::Wordlist::hanekomu
spell_cmd = aspell list
stopwords = Cushing
stopwords = Estey
stopwords = ACKNOWLEDGEMENTS
stopwords = SubmittingPatches

[PruneFiles]
filenames = dist.ini
filenames = weaver.ini
Expand Down
6 changes: 3 additions & 3 deletions lib/Template/ShowStartStop.pm
@@ -1,15 +1,15 @@
package Template::ShowStartStop;
use 5.006;
use strict;
use warnings;
package Template::ShowStartStop;
BEGIN {
# VERSION
}
use SUPER;
use parent 'Template::Context';

sub process {
my $self = shift;
my ( $template ) = @_;
my ( $self, $template ) = @_;

my $template_id
# conditional # set $template to
Expand Down
1 change: 1 addition & 0 deletions perlcritic.rc
@@ -0,0 +1 @@
severity = 3

0 comments on commit 1eb7c13

Please sign in to comment.