Small cleanups in Makefile.
This commit is contained in:
parent
4559bc257b
commit
1c35167c3a
3 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
--------------
|
||||
|
|
4
Makefile
4
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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue