[libcode-tidyall-perl] 43/374: fixups

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:25:46 UTC 2013


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit 342398d71f002bb44f4d4ad1e0190bf20a64d45a
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Sun Jun 17 07:10:04 2012 -0700

    fixups
---
 bin/tidyall |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/bin/tidyall b/bin/tidyall
index d08a925..cb26e18 100755
--- a/bin/tidyall
+++ b/bin/tidyall
@@ -66,15 +66,16 @@ tidyall - Your all-in-one code tidier and validator
     # Create a tidyall.ini at the top of your project
     #
     [PerlTidy]
-    argv = -noll -it=2
     select = **/*.{pl,pm,t}
+    argv = -noll -it=2
 
     [PerlCritic]
-    argv = -severity 3
     select = lib/**/*.pm
     ignore = lib/UtterHack.pm
+    argv = -severity 3
 
-    # Process all files in the current project, look upwards from cwd for tidyall.ini
+    # Process all files in the current project,
+    # look upwards from cwd for tidyall.ini
     #
     % tidyall -a
 
@@ -82,7 +83,8 @@ tidyall - Your all-in-one code tidier and validator
     #
     % tidyall -a --root-dir /home/joe/project
 
-    # Process one or more specific files, look upwards from the first file for tidyall.ini
+    # Process one or more specific files,
+    # look upwards from the first file for tidyall.ini
     #
     % tidyall file [file...]
 
@@ -162,13 +164,13 @@ C<tidyall> will expect to find C<tidyall.ini> in the specified root directory.
 The config file is in L<Config::INI|Config::INI> format. Here's a sample:
 
     [PerlTidy]
-    argv = -noll -it=2
     select = **/*.{pl,pm,t}
+    argv = -noll -it=2
 
     [PerlCritic]
-    argv = -severity 3
     select = lib/**/*.pm
     ignore = lib/UtterHack.pm
+    argv = -severity 3
 
     [PodTidy]
     select = lib/**/*.{pm,pod}
@@ -229,6 +231,7 @@ C<File::Zglob> documentation for more details.
 A C<File::Zglob> pattern, of the same format described above, indicating which
 files to ignore.  This overrides C<select>. e.g.
 
+    # All .pl files under bin, except under bin/tmp
     select = bin/**/*.pl
     ignore = bin/tmp/*.pl
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list