diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-10-08 06:35:24 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-10-08 06:35:24 +0000 |
| commit | 85d35eac637d3538a70fada8bf393df1573c1c30 (patch) | |
| tree | 2c5c7627569c9b8e86c93cd7307bab94c39f8a43 | |
| parent | d4dd7d4677c5b750ae8449b0a01621039ad34b1c (diff) | |
| parent | d040e34352f89bac7050651af7cb7ad99bdf0299 (diff) | |
| download | kolla-85d35eac637d3538a70fada8bf393df1573c1c30.tar.gz kolla-85d35eac637d3538a70fada8bf393df1573c1c30.zip | |
Merge "Add a LOC counter"
| -rwxr-xr-x | loc | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -0,0 +1,35 @@ +#!/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` +BUILD=`find kolla -type f -exec cat {} \; | wc -l` + +DEMOS=`find demos -type f -exec cat {} \; | wc -l` +DEVENV=`find devenv -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 vagrant -type f -exec cat {} \; | wc -l` + +CORE=$(($ANSIBLE+$DOCKER+$TESTS+$DOCS+$BUILD)) +SUPP=$(($DEMOS+$DEVENV+$SPECS+$ETC+$TOOLS+$VAGRANT)) +TOTAL=$(($CORE+$SUPP)) + + +echo "Ansible $ANSIBLE" +echo "Build $BUILD" +echo "Demos $DEMOS" +echo "Doc $DOC" +echo "Etc $ETC" +echo "Docker $DOCKER" +echo "Devenv $DEVENV" +echo "Specs $SPECS" +echo "Tests $TESTS" +echo "Tools $TOOLS" +echo "Vagrant $VAGRANT" +echo "" +echo "Core Code $CORE" +echo "Support Code $SUPP" +echo "Total Code $TOTAL" |
