diff options
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | weeder.dhall | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index ed4d2b58f..f099e845e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ !.circleci/** !.editorconfig !.gitattributes +!.github/** !.gitignore !.hlint.yaml !.mailmap @@ -34,6 +35,7 @@ !release.nix !shell.nix !stack.yaml +!weeder.dhall !app/** !benchmark/** !citeproc/** @@ -42,6 +44,8 @@ !linux/** !macos/** !man/** +!pandoc-server/** +!pandoc-cli/** !src/** !test/** !tools/** @@ -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 diff --git a/weeder.dhall b/weeder.dhall new file mode 100644 index 000000000..5ef3252f8 --- /dev/null +++ b/weeder.dhall @@ -0,0 +1 @@ +{ roots = [ "^Main.main$", "^Paths_.*$" ] , type-class-roots = True } |
