#!perl -T

use strict;
use warnings;

use Test::More;

eval 'use Test::Perl::Critic -severity => 1; 1'
    or plan( skip_all => 'Test::Perl::Critic required' );

$ENV{TEST_AUTHOR}
    or plan( skip_all => 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.' );

all_critic_ok( qw(
    lib
    example
) );
