exclude = [
"Regexp-Pattern-License-*",
"blib",
]
# Add Perl::Critic as a develop phase prereq
[commands.perlcritic]
type = "lint"
include = [ "**/*.{pl,pm,t,psgi}" ]
cmd = [ "perlcritic", "--profile=$PRECIOUS_ROOT/perlcriticrc" ]
ok_exit_codes = 0
lint_failure_exit_codes = 2
# Add Perl::Tidy as a develop phase prereq
[commands.perltidy]
type = "both"
include = [ "**/*.{pl,pm,t,psgi}" ]
cmd = [ "perltidier", "--profile=$PRECIOUS_ROOT/perltidyrc" ]
lint_flags = [ "--assert-tidy", "--no-standard-output", "--outfile=/dev/null" ]
tidy_flags = [ "--backup-and-modify-in-place", "--backup-file-extension=/" ]
ok_exit_codes = 0
lint_failure_exit_codes = 2
expect_stderr = true
# Add Pod::Checker as a develop phase prereq
[commands.podchecker]
type = "lint"
include = [ "**/*.{pl,pm,pod}" ]
cmd = [ "podchecker", "--warnings", "--warnings" ]
ok_exit_codes = [ 0, 2 ]
lint_failure_exit_codes = 1
expect_stderr = true
# Add Pod::Tidy as a develop phase prereq
#[commands.podtidy]
#type = "tidy"
#include = [ "**/*.{pl,pm,pod}" ]
#cmd = [ "podtidy", "--columns", "80", "--inplace", "--nobackup" ]
#ok_exit_codes = 0
#lint_failure_exit_codes = 1