Merge pull request #950 from progrium/mh-count-code-only

do not count blank lines
This commit is contained in:
Jose Diaz-Gonzalez committed 2015-02-06 17:42:26 -05:00
commit 6f92385608
1 file changed
+3 -3
+3 -3
View File
@@ -106,11 +106,11 @@ endif
count: count:
@echo "Core lines:" @echo "Core lines:"
@cat dokku bootstrap.sh | wc -l @cat dokku bootstrap.sh | egrep -v "^$$" | wc -l
@echo "Plugin lines:" @echo "Plugin lines:"
@find plugins -type f | xargs cat | wc -l @find plugins -type f | xargs cat | egrep -v "^$$" | wc -l
@echo "Test lines:" @echo "Test lines:"
@find tests -type f | xargs cat | wc -l @find tests -type f | xargs cat | egrep -v "^$$" |wc -l
dokku-installer: dokku-installer:
apt-get install -qq -y ruby apt-get install -qq -y ruby