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

do not count blank lines
This commit is contained in:
Jose Diaz-Gonzalez
2015-02-06 17:42:26 -05:00

View File

@@ -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