[Koha-bugs] [Bug 6986] add example perltidyrc file to Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 02:39:31 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6986

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6989|0                           |1
        is obsolete|                            |

--- Comment #8 from Mason James <mtj at kohaaloha.com> ---
Created attachment 17777
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17777&action=edit
Bug 6986 - add example perltidyrc file to Koha

xt/perltidyrc generated by running 'perltidy -npro -opt'

to test...

- apply patch
    $ git bz apply 6986

- tidy a random file using the default 'wall' style
    $ perltidy -npro ./install-CPAN.pl  -o ./aa

- tidy a random file using the ./xt/perltidyrc profile
    $ perltidy -pro=./xt/perltidyrc ./install-CPAN.pl  -o ./bb

- compare the 2 output files are identical
    $ diff aa bb |wc -l
    0

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list