1.安裝homebrew,自行百度
2.安裝cloc :brew install cloc
3.
cloc ./ //統(tǒng)計當前文件夾下的代碼行數
cloc ./ --exclude-dir=Pods //排除pod
cloc ./ --exclude-dir=Pods,other directory?//排除pod和other directory?
1.安裝homebrew,自行百度
2.安裝cloc :brew install cloc
3.
cloc ./ //統(tǒng)計當前文件夾下的代碼行數
cloc ./ --exclude-dir=Pods //排除pod
cloc ./ --exclude-dir=Pods,other directory?//排除pod和other directory?