My (very) basic script tool #323
juliancabmar
started this conversation in
Show and tell
Replies: 1 comment
-
Thanks for sharing this with us buddy, we appreciate it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bash Script tool to analyze solidity files with
cloc
and sort by lines of codeHi everyone!
I wanted to share a small bash script I created that might be useful for those working with Solidity projects. This script,
scloc.sh
, analyzes Solidity files in a specified directory usingcloc
and outputs a summary sorted by the number of lines of code in ascending order (good for Tincho method).How It Works:
cloc
to count lines of code in Solidity files.Usage:
Output example (actually I'm doing thunder-loan):
Then, I this help me to check the audited files and navigate between them.
Here is the code:
Is some silly but practical for me. Good luck to all 👋
Beta Was this translation helpful? Give feedback.
All reactions