mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
Update pgindent readme.
This commit is contained in:
@ -1,12 +1,13 @@
|
|||||||
This can format all PostgreSQL *.c and *.h files, excluding libpq++,
|
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
|
||||||
*.y, and *.l files.
|
files.
|
||||||
|
|
||||||
Get the list of typedef's included in pgindent by running this on the
|
Get the list of typedef's included in pgindent by running this on the
|
||||||
pgsql/bin directory:
|
pgsql/bin directory:
|
||||||
|
|
||||||
/src/tools/find_typedef
|
/src/tools/find_typedef
|
||||||
|
|
||||||
and update the list in pgindent. This requires debug symbols.
|
and update the list in pgindent. This requires the binaries have debug
|
||||||
|
symbols.
|
||||||
|
|
||||||
From the top directory, run:
|
From the top directory, run:
|
||||||
|
|
||||||
@ -38,6 +39,7 @@ following options:
|
|||||||
|
|
||||||
find . \( -name '*.java' -o -name '*.java.in' \) -print |
|
find . \( -name '*.java' -o -name '*.java.in' \) -print |
|
||||||
xargs -n100 pgjindent
|
xargs -n100 pgjindent
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
For cpp, we use astyle, http://astyle.sourceforge.net/, with the
|
For cpp, we use astyle, http://astyle.sourceforge.net/, with the
|
||||||
|
Reference in New Issue
Block a user