Update pgindent Perl indentation instructions based on feedback from
Àlvaro and Noah Misch. Backpatch to 9.2.
This commit is contained in:
parent
877b55c619
commit
d6e0207437
@ -44,10 +44,15 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
|
|||||||
pg_ctl start
|
pg_ctl start
|
||||||
gmake installcheck-world
|
gmake installcheck-world
|
||||||
|
|
||||||
9) Indent the Perl MSVC code:
|
9) Indent the Perl code:
|
||||||
|
|
||||||
cd src/tools/msvc
|
find . -name \*.pl -o -name \*.pm | xargs perltidy \
|
||||||
perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm
|
--backup-and-modify-in-place --opening-brace-on-new-line \
|
||||||
|
--vertical-tightness=2 --vertical-tightness-closing=2 \
|
||||||
|
--nospace-after-keyword=for --nospace-for-semicolon \
|
||||||
|
--add-whitespace --delete-old-whitespace --paren-tightness=2 \
|
||||||
|
--keep-old-blank-lines=2 --maximum-line-length=78 \
|
||||||
|
--entab-leading-whitespace=4 --output-line-ending=unix
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user