mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 18:26:36 +00:00
Makefile: and linecounts target
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user