iOS:
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.swift" ")" -print | xargs wc -l
Android:
find . "(" -name "*.java" -or -name "*.xml" -or -name "*.cpp" -or -name "*.h" -or -name "*.c" ")" -print | xargs wc -l
网友评论