Files
openGauss-server/src/tools/codelines
2020-06-30 17:38:27 +08:00

8 lines
230 B
Bash

#!/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 after a 'make distclean'
find . -name '*.[chyl]' | xargs cat| wc -l