Skip to content

Commit aaa64cd

Browse files
committed
generate: update stats to include struts
1 parent 9eee681 commit aaa64cd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

generate/tools/stats.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ echo "Methods:"
1010
awk '/type [a-zA-Z0-9_]+ interface {/,/}/' ./macos/*/*.gen.go | grep ')' | wc -l
1111
echo
1212
echo "Enums/constants:"
13-
cat ./macos/*/enumtypes.gen.go | grep -v '^\s*//' | grep -v '^\s*$' | grep -v '[\(\)]' | wc -l
13+
cat ./macos/*/enumtypes.gen.go | grep -v '^\s*//' | grep -v '^\s*$' | grep -v '[\(\)]' | wc -l
14+
echo
15+
echo "Structs:"
16+
find . -type f -name "*_structs.go" -exec grep '^type' {} + | wc -l
17+
echo

0 commit comments

Comments
 (0)