Small cleanups in Makefile.

This commit is contained in:
John MacFarlane 2019-09-05 17:34:47 -07:00
parent 4559bc257b
commit 1c35167c3a
3 changed files with 7 additions and 8 deletions

View file

@ -210,10 +210,9 @@ With stack:
stack bench stack bench
You can also build pandoc with the `weigh-pandoc` flag and You can also build `weigh-pandoc` (`stack build pandoc:weigh-pandoc`)
run `weigh-pandoc` to get some statistics on memory usage. to get some statistics on memory usage. (Eventually this should
(Eventually this should be incorporated into the benchmark be incorporated into the benchmark suite.)
suite.)
Using the REPL Using the REPL
-------------- --------------

View file

@ -4,10 +4,6 @@ SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
BRANCH?=master BRANCH?=master
RESOLVER?=lts-13 RESOLVER?=lts-13
GHCOPTS=-fdiagnostics-color=always 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 WEBSITE=../../web/pandoc.org
quick: quick:

View file

@ -448,6 +448,10 @@ library
-Wincomplete-record-updates -Wincomplete-record-updates
-Wnoncanonical-monad-instances -Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-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) if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef ghc-options: -Wcpp-undef
if impl(ghc >= 8.4) if impl(ghc >= 8.4)