Last active
April 25, 2018 09:16
-
-
Save Donmclean/06c08571d8d7ebcf7a8678b16d75dd2b to your computer and use it in GitHub Desktop.
Revisions
-
Donmclean revised this gist
Apr 25, 2018 . No changes.There are no files selected for viewing
-
Donmclean created this gist
Apr 25, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ ### REQUIREMENTS: MUST HAVE cloc INSTALLED!!! -> (brew install cloc) ### USAGE: sh cloc.sh GIT_REPO_URL #!/usr/bin/env bash git clone --depth 1 "$1" temp-linecount-repo && printf "('temp-linecount-repo' will be deleted automatically)\n\n\n" && cloc temp-linecount-repo && rm -rf temp-linecount-repo