1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

Change pgindent/README to specify that we use perltidy version 20170521.

Per discussion, this is now the project's standard version.
Update the obsolete URL, and explain how to install a specific version.

Discussion: https://postgr.es/m/CABUevEzK3cNiHZQ18f5tK0guoT+cN_jWeVzhYYxY=r+1Q3SmoA@mail.gmail.com
This commit is contained in:
Tom Lane 2018-04-25 13:58:39 -04:00
parent 4eaf7eaccb
commit 46cda5bf7b

View File

@ -14,9 +14,14 @@ PREREQUISITES:
git clone https://git.postgresql.org/git/pg_bsd_indent.git git clone https://git.postgresql.org/git/pg_bsd_indent.git
then follow the directions in README.pg_bsd_indent therein. then follow the directions in README.pg_bsd_indent therein.
2) Install perltidy. Please be sure it is v20090616 (older and newer 2) Install perltidy. Please be sure it is version 20170521 (older and newer
versions make different formatting choices, and we want consistency). See versions make different formatting choices, and we want consistency).
https://sourceforge.net/projects/perltidy/files/perltidy/perltidy-20090616/ You can get the correct version from
https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/
To install, follow the usual install process for a Perl module
("man perlmodinstall" explains it). Or, if you have cpan installed,
this should work:
cpan SHANCOCK/Perl-Tidy-20170521.tar.gz
DOING THE INDENT RUN: DOING THE INDENT RUN: