2015-10-07 23:02:29 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
DOCKER=`find docker -type f -exec cat {} \; | wc -l`
|
|
|
|
DOC=`find doc -type f -exec cat {} \; | wc -l`
|
|
|
|
TESTS=`find tests -type f -exec cat {} \; | wc -l`
|
|
|
|
BUILD=`find kolla -type f -exec cat {} \; | wc -l`
|
|
|
|
|
|
|
|
SPECS=`find specs -type f -exec cat {} \; | wc -l`
|
|
|
|
ETC=`find etc -type f -exec cat {} \; | wc -l`
|
|
|
|
TOOLS=`find tools -type f -exec cat {} \; | wc -l`
|
2016-11-18 07:24:24 -05:00
|
|
|
DEVENV=`find contrib/dev -type f -exec cat {} \; | wc -l`
|
2015-10-07 23:02:29 -07:00
|
|
|
|
2016-11-18 07:24:24 -05:00
|
|
|
CORE=$(($DOCKER+$TESTS+$DOCS+$BUILD+$TOOLS))
|
|
|
|
SUPP=$(($DEVENV+$SPECS+$ETC))
|
2015-10-07 23:02:29 -07:00
|
|
|
TOTAL=$(($CORE+$SUPP))
|
|
|
|
|
|
|
|
|
|
|
|
echo "Build $BUILD"
|
|
|
|
echo "Doc $DOC"
|
|
|
|
echo "Etc $ETC"
|
|
|
|
echo "Docker $DOCKER"
|
|
|
|
echo "Specs $SPECS"
|
|
|
|
echo "Tests $TESTS"
|
|
|
|
echo "Tools $TOOLS"
|
2016-11-18 07:24:24 -05:00
|
|
|
echo "Devenv $DEVENV"
|
2015-10-07 23:02:29 -07:00
|
|
|
echo ""
|
|
|
|
echo "Core Code $CORE"
|
|
|
|
echo "Support Code $SUPP"
|
|
|
|
echo "Total Code $TOTAL"
|