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
|
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
|
||||||
--------------
|
--------------
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -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:
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue