mirror of
https://github.com/tildeclub/ttrv.git
synced 2026-06-18 03:09:24 +00:00
first commit
This commit is contained in:
15
scripts/count_lines.sh
Executable file
15
scripts/count_lines.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ROOT="$(dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )")"
|
||||
|
||||
cd ${ROOT}
|
||||
echo -e "\nTests: "
|
||||
echo "$(wc -l tests/*.py)"
|
||||
echo -e "\nScripts: "
|
||||
echo "$(wc -l scripts/*)"
|
||||
echo -e "\nTemplates: "
|
||||
echo "$(wc -l ttrv/templates/*)"
|
||||
echo -e "\nCode: "
|
||||
echo "$(wc -l ttrv/*.py)"
|
||||
echo -e "\nCombined: "
|
||||
echo "$(cat tests/*.py scripts/* ttrv/templates/* ttrv/*.py | wc -l) total lines"
|
||||
Reference in New Issue
Block a user