Merge pull request #950 from progrium/mh-count-code-only
do not count blank lines
This commit is contained in:
commit
6f92385608
1 file changed
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user