diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-09-27 18:01:34 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-09-27 18:01:34 -0700 |
| commit | b5bf559766c1ac6297c0560a1dfe02e1056ac15b (patch) | |
| tree | ed620f7542056aefabaff10e49033876bd073f29 /Makefile | |
| parent | 21bf9ae88502c8eaa22e08f1532d4db846c96be1 (diff) | |
Makefile: add weeder target.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -13,7 +13,7 @@ BASELINECMD= else BASELINECMD=--baseline $(BASELINE) endif -GHCOPTS=-fdiagnostics-color=always -j4 +RTS -A8m -RTS +GHCOPTS=-fwrite-ide-info -fdiagnostics-color=always -j4 +RTS -A8m -RTS WEBSITE=../../web/pandoc.org REVISION?=1 BENCHARGS?=--csv bench_$(TIMESTAMP).csv $(BASELINECMD) --timeout=6 +RTS -T --nonmoving-gc -RTS $(if $(PATTERN),--pattern "$(PATTERN)",) @@ -92,6 +92,10 @@ coverage: ## code coverage information open coverage/hpc_index.html .PHONY: coverage +weeder: ## run weeder to find dead code + weeder +.PHONY: weeder + transitive-deps: ## print transitive dependencies cabal-plan topo | sort | sed -e 's/-[0-9]\..*//' .PHONY: transitive-deps |
