This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow: | |
# | |
# 1- if the path points to a directory | |
# 1.1- if the directory isn't in the exclusion list then: count LOC | |
# 1.2- else: prune directory | |
# 2- else | |
# 1.1- if the file extension is whitelisted then: count LOC | |
# 1.2- else: next | |
require 'find' |