++ed by:
KEEDI ASHLEY ZMUGHAL MARKELLIS CKRAS
6 non-PAUSE users
Author image Nick Wellnhofer
and 1 contributors

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.