mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
This generates a more accurate code count because 'make distclean' doesn't always remove build files. Author: idea from David Rowley Discussion: https://postgr.es/m/aR4hoOotVHB7TXo5@momjian.us Backpatch-through: master
8 lines
210 B
Bash
Executable File
8 lines
210 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# src/tools/codelines
|
|
|
|
# This script is used to compute the total number of "C" lines in the release
|
|
# This should be run from the top of the Git tree.
|
|
git ls-files -- '*.[chyl]' | xargs cat | wc -l
|