1.安装homebrew,自行百度
2.安装cloc :brew install cloc
3.
cloc ./ //统计当前文件夹下的代码行数
cloc ./ --exclude-dir=Pods //排除pod
cloc ./ --exclude-dir=Pods,other directory //排除pod和other directory
1.安装homebrew,自行百度
2.安装cloc :brew install cloc
3.
cloc ./ //统计当前文件夹下的代码行数
cloc ./ --exclude-dir=Pods //排除pod
cloc ./ --exclude-dir=Pods,other directory //排除pod和other directory