-
-
27 Feb 2018 08:40:23 UTC
- Distribution: Lucy
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Clone repository
- Issues
- Testers (1251 / 3 / 7)
- Kwalitee
Bus factor: 1- License: apache_2_0
- Perl: v5.8.3
- Activity
24 month- Tools
- Download (1.12MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- The Apache Lucy Project <dev at lucy dot apache dot org>
- Dependencies
- Clownfish
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
lucytidy.pl - Auto-format Lucy code.
SYNOPSIS
lucytidy.pl [options] PATH
DESCRIPTION
Lucy uses various automatic code formatters for the different languages it supports: AStyle, a.k.a. Artistic Style, for C code, Perltidy for Perl, etc. This wrapper script walks the directory structure pointed to by the supplied
PATH
and decides based on file type which formatter to run. It also works around some formatter quirks and bugs so that we don't have to live with compromises in our actual code.OPTIONS
--suffix
lucytidy.pl --suffix="" PATH
The suffix for the tidied file. The default is "tdy". Supplying an empty string causes the original file to be overwritten.
--astyle
lucytidy.pl --astyle=/path/to/alternative/astyle PATH
Specify the location of the astyle executable.
--perltidy
lucytidy.pl --perltidy=/path/to/alternative/perltidy PATH
Specify the location of the perltidy executable.
Module Install Instructions
To install Lucy, copy and paste the appropriate command in to your terminal.
cpanm Lucy
perl -MCPAN -e shell install Lucy
For more information on module installation, please visit the detailed CPAN module installation guide.