diff --git a/cpanfile b/cpanfile new file mode 100644 index 0000000000..166a72401a --- /dev/null +++ b/cpanfile @@ -0,0 +1,4 @@ +on 'develop' => sub { + requires 'Test::Fixme'; + requires 'Test::PerlTidy'; +}; diff --git a/doc/dot.perltidyrc b/doc/dot.perltidyrc index 65512bb501..870f5e7e60 100644 --- a/doc/dot.perltidyrc +++ b/doc/dot.perltidyrc @@ -6,7 +6,7 @@ -cti=0 # No extra indentation for closing brackets -i=4 # Indent level is 4 cols -ci=4 # Continuation indent is 4 cols --l=78 # Max line witdh is 78 cols +-l=78 # Max line width is 78 cols -nolc # Don't outdent long comments (* -olc) -nolq # Don't outdent long quoted strings -nsbl # No opening sub brace on new line (* -sbl) diff --git a/xt/perltidy.t b/xt/perltidy.t new file mode 100644 index 0000000000..96e2e41ce0 --- /dev/null +++ b/xt/perltidy.t @@ -0,0 +1,10 @@ +use strict; +use warnings; + +use Test::PerlTidy; +use FindBin qw($Bin); + +run_tests( + path => "$Bin/../src/", + perltidyrc => "$Bin/../doc/dot.perltidyrc" +);