aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTING.md7
-rw-r--r--Makefile4
-rw-r--r--pandoc.cabal4
3 files changed, 7 insertions, 8 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4cb355d03..4b8214a0e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -210,10 +210,9 @@ With stack:
stack bench
-You can also build pandoc with the `weigh-pandoc` flag and
-run `weigh-pandoc` to get some statistics on memory usage.
-(Eventually this should be incorporated into the benchmark
-suite.)
+You can also build `weigh-pandoc` (`stack build pandoc:weigh-pandoc`)
+to get some statistics on memory usage. (Eventually this should
+be incorporated into the benchmark suite.)
Using the REPL
--------------
diff --git a/Makefile b/Makefile
index cf3e8d284..d47bd4940 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,6 @@ SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
BRANCH?=master
RESOLVER?=lts-13
GHCOPTS=-fdiagnostics-color=always
-# Later:
-# -Wpartial-fields (currently used in Powerpoint writer)
-# -Wmissing-export-lists (currently some Odt modules violate this)
-# -Wredundant-constraints (problematic if we want to support older base)
WEBSITE=../../web/pandoc.org
quick:
diff --git a/pandoc.cabal b/pandoc.cabal
index 89e140465..b94efd5e1 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -448,6 +448,10 @@ library
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
+ -- Later:
+ -- -Wpartial-fields (currently used in Powerpoint writer)
+ -- -Wmissing-export-lists (currently some Odt modules violate this)
+ -- -Wredundant-constraints (problematic if we want to support older base)
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
if impl(ghc >= 8.4)