diff options
| author | John MacFarlane <[email protected]> | 2022-10-19 13:33:32 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-10-19 13:33:32 -0700 |
| commit | 5faa6d22dbfbfe934f23dbe12fa3cbebcee36ace (patch) | |
| tree | 3df5be1abf4f704f02b3488da8fb742322187759 /Makefile | |
| parent | 69485b0c0d1c55ccee28fd09d0eca6dc3089b0fb (diff) | |
Makefile: and linecounts target
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |
