From f5bceb955c730804eb1f373a188695b3267aef64 Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Fri, 6 Feb 2015 14:37:52 -0800 Subject: [PATCH] [ci skip] do not count blank lines --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0f152e5ab..4bca0b022 100644 --- a/Makefile +++ b/Makefile @@ -106,11 +106,11 @@ endif count: @echo "Core lines:" - @cat dokku bootstrap.sh | wc -l + @cat dokku bootstrap.sh | egrep -v "^$$" | wc -l @echo "Plugin lines:" - @find plugins -type f | xargs cat | wc -l + @find plugins -type f | xargs cat | egrep -v "^$$" | wc -l @echo "Test lines:" - @find tests -type f | xargs cat | wc -l + @find tests -type f | xargs cat | egrep -v "^$$" |wc -l dokku-installer: apt-get install -qq -y ruby