summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9db210cdc..7a6edbe63 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,13 @@ repl: ## run cabal repl
cabal repl $(CABALOPTS) pandoc
.PHONY: repl
+linecounts: ## print line counts for each module
+ @for f in $(SOURCEFILES); do \
+ wc -l $$f; \
+ done; \
+ wc -l $(SOURCEFILES)
+.PHONY: linecounts
+
# Note: to accept current results of golden tests,
# make test TESTARGS='--accept'
test: ## unoptimized build and run tests with cabal