Browse Source

Move perlcritic and perltidy configs to project root

add-test-db-and-override
Blaine Motsinger 9 months ago
parent
commit
b182be0031
  1. 0
      .perlcriticrc
  2. 0
      .perltidyrc
  3. 2
      t/996_perl-tidy.t
  4. 2
      t/997_perl-critic.t

0
t/config/perlcriticrc → .perlcriticrc

0
t/config/perltidyrc → .perltidyrc

2
t/996_perl-tidy.t

@ -18,5 +18,5 @@ if ($@) {
Test::PerlTidy::run_tests(
path => "$FindBin::RealBin/../lib",
perltidyrc => "$FindBin::RealBin/config/perltidyrc",
perltidyrc => "$FindBin::RealBin/../.perltidyrc",
);

2
t/997_perl-critic.t

@ -17,7 +17,7 @@ if ($@) {
plan( skip_all => $msg );
}
my $rcfile = File::Spec->catfile( 't', 'config/perlcriticrc' );
my $rcfile = File::Spec->catfile( "$FindBin::RealBin/../", '.perlcriticrc' );
Test::Perl::Critic->import( -profile => $rcfile );
all_critic_ok("$FindBin::RealBin/../lib");
Loading…
Cancel
Save