1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
6use Test::More;
7use UNIVERSAL::require;
8use English qw(-no_match_vars);
9
10plan(skip_all => 'Author test, set $ENV{TEST_AUTHOR} to a true value to run')
11    if !$ENV{TEST_AUTHOR};
12
13plan(skip_all => 'Test::Perl::Critic required')
14    unless Test::Perl::Critic->require();
15
16my $config = File::Spec->catfile('t', 'perlcriticrc');
17Test::Perl::Critic->import(-profile => $config);
18
19all_critic_ok();
20