aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2016-11-18 07:24:24 -0500
committerSteven Dake <stdake@cisco.com>2016-11-18 08:02:19 -0500
commit3a5a31e456ee5e08fc1cbe592119cc1b81d43176 (patch)
treee12ef14680230aba404bb62544a623d1943cedfb /tools
parent19070253d7a8d67439c1732f4b4acd3641349de4 (diff)
downloadkolla-3a5a31e456ee5e08fc1cbe592119cc1b81d43176.tar.gz
kolla-3a5a31e456ee5e08fc1cbe592119cc1b81d43176.zip
Clean up loc
LOC was broken and called out vagrant specifically. This patch makes LOC work and renames "Vagrant" to "devenv". Change-Id: I29f930114d3cba17e870437c99eb3cbae6abb251
Diffstat (limited to 'tools')
-rwxr-xr-xtools/loc10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/loc b/tools/loc
index 60b14e24f..b7eaca424 100755
--- a/tools/loc
+++ b/tools/loc
@@ -1,6 +1,5 @@
#!/bin/bash
-ANSIBLE=`find ansible -type f -exec cat {} \; | wc -l`
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`
@@ -10,14 +9,13 @@ DEMOS=`find contrib/demos -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`
-VAGRANT=`find contrib/dev/vagrant -type f -exec cat {} \; | wc -l`
+DEVENV=`find contrib/dev -type f -exec cat {} \; | wc -l`
-CORE=$(($ANSIBLE+$DOCKER+$TESTS+$DOCS+$BUILD))
-SUPP=$(($DEMOS+$HEAT+$SPECS+$ETC+$TOOLS+$VAGRANT))
+CORE=$(($DOCKER+$TESTS+$DOCS+$BUILD+$TOOLS))
+SUPP=$(($DEVENV+$SPECS+$ETC))
TOTAL=$(($CORE+$SUPP))
-echo "Ansible $ANSIBLE"
echo "Build $BUILD"
echo "Demos $DEMOS"
echo "Doc $DOC"
@@ -26,7 +24,7 @@ echo "Docker $DOCKER"
echo "Specs $SPECS"
echo "Tests $TESTS"
echo "Tools $TOOLS"
-echo "Vagrant $VAGRANT"
+echo "Devenv $DEVENV"
echo ""
echo "Core Code $CORE"
echo "Support Code $SUPP"