From 83273b56691facf796697d448def8e5f3e52735f Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 19 Aug 2017 21:35:53 +0800 Subject: [PATCH] add cloc command Signed-off-by: Bo-Yi Wu --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 69cb35e..020489e 100644 --- a/Makefile +++ b/Makefile @@ -143,5 +143,10 @@ ssh-server: rm -rf /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_dsa_key ./tests/entrypoint.sh /usr/sbin/sshd -D & +# Show source statistics. +cloc: + @cloc -exclude-dir=vendor,node_modules . +.PHONY: cloc + version: @echo $(VERSION)