kolla/tools/loc
Christian Berendt 2c2bc48630 Remove demos directory from contrib
The demos are already part of kolla-ansible repository.

Change-Id: I075ea1308c24d4260cafbc502a2f2815df1ee14c
2017-09-12 09:50:23 +02:00

30 lines
825 B
Bash
Executable File

#!/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`
DEVENV=`find contrib/dev -type f -exec cat {} \; | wc -l`
CORE=$(($DOCKER+$TESTS+$DOCS+$BUILD+$TOOLS))
SUPP=$(($DEVENV+$SPECS+$ETC))
TOTAL=$(($CORE+$SUPP))
echo "Build $BUILD"
echo "Doc $DOC"
echo "Etc $ETC"
echo "Docker $DOCKER"
echo "Specs $SPECS"
echo "Tests $TESTS"
echo "Tools $TOOLS"
echo "Devenv $DEVENV"
echo ""
echo "Core Code $CORE"
echo "Support Code $SUPP"
echo "Total Code $TOTAL"