Skip to content

Commit

Permalink
generate: update stats to include struts
Browse files Browse the repository at this point in the history
  • Loading branch information
progrium committed Nov 14, 2023
1 parent 9eee681 commit aaa64cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion generate/tools/stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ echo "Methods:"
awk '/type [a-zA-Z0-9_]+ interface {/,/}/' ./macos/*/*.gen.go | grep ')' | wc -l
echo
echo "Enums/constants:"
cat ./macos/*/enumtypes.gen.go | grep -v '^\s*//' | grep -v '^\s*$' | grep -v '[\(\)]' | wc -l
cat ./macos/*/enumtypes.gen.go | grep -v '^\s*//' | grep -v '^\s*$' | grep -v '[\(\)]' | wc -l
echo
echo "Structs:"
find . -type f -name "*_structs.go" -exec grep '^type' {} + | wc -l
echo

0 comments on commit aaa64cd

Please sign in to comment.