Integrate pg_bsd_indent into our build/test infrastructure.
Tom Lane <tgl@sss.pgh.pa.us>
Integrate pg_bsd_indent into our build/test infrastructure. Update the Makefile and build directions for in-tree build, and add Meson build infrastructure. Also convert the ad-hoc test target into a TAP test. Currently, the Make build system will not build pg_bsd_indent by default, while the Meson system will. Both will test it during "make check-world" or "ninja test". Neither will install it automatically. (We might change some of these decisions later.) Also fix a few portability nits noted during early testing. Also, exclude pg_bsd_indent from pgindent's purview; at least for now, we'll leave it formatted similarly to the FreeBSD original. Tom Lane and Andres Freund Discussion: https://postgr.es/m/3935719.1675967430@sss.pgh.pa.us Discussion: https://postgr.es/m/20200812223409.6di3y2qsnvynao7a@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| GNUmakefile.in | modified | +1 −1 |
| src/Makefile | modified | +2 −0 |
| src/meson.build | modified | +2 −0 |
| src/tools/pg_bsd_indent/args.c | modified | +1 −1 |
| src/tools/pg_bsd_indent/.gitignore | modified | +3 −9 |
| src/tools/pg_bsd_indent/indent.c | modified | +3 −3 |
| src/tools/pg_bsd_indent/indent.h | modified | +1 −1 |
| src/tools/pg_bsd_indent/Makefile | modified | +41 −21 |
| src/tools/pg_bsd_indent/meson.build | added | +40 −0 |
| src/tools/pg_bsd_indent/README | modified | +37 −0 |
| src/tools/pg_bsd_indent/README.pg_bsd_indent | deleted | +0 −30 |
| src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl | added | +53 −0 |
| src/tools/pgindent/exclude_file_patterns | modified | +4 −0 |
Discussion
- run pgindent on a regular basis / scripted manner 305 messages · 2020-08-12 → 2023-10-29
- Importing pg_bsd_indent into our source tree 21 messages · 2023-02-09 → 2023-06-07