Skip to content

Commit

Permalink
Merge pull request #367 from gberaudo/print_goog_usage
Browse files Browse the repository at this point in the history
Count closure library usage
  • Loading branch information
gberaudo authored Jun 15, 2016
2 parents c83d904 + 4060762 commit 7357b3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ script:
- NO_CESIUM=1 make dist
- NO_CESIUM=1 make check
- NO_CESIUM=1 make dist-examples
- ./build/goog-count.sh
4 changes: 4 additions & 0 deletions build/goog-count.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

echo 'goog library usage:'
grep -Rn 'goog\.[a-zA-Z0-9\.]' src/ | sed 's/.*\(goog\.[a-zA-Z0-9\.]*\).*/\1/' | sort | uniq -c

0 comments on commit 7357b3a

Please sign in to comment.