diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-03-27 09:36:52 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-27 09:36:52 -0700 |
commit | 9e63924f28123324f6668870b0713e17198c203c (patch) | |
tree | f84e2cc71ff3de28d4636c53d7c7780b71fde0bb /Makefile | |
parent | 03293a4ac48b66325dbb3df1a1285ec62ed3a825 (diff) | |
download | pandoc-9e63924f28123324f6668870b0713e17198c203c.tar.gz |
Add ghc-options to cabal.project.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1) SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs') BRANCH?=master RESOLVER?=lts-13 -GHCOPTS=-fdiagnostics-color=always -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -fhide-source-paths -j +RTS -A32M -RTS +GHCOPTS=-fdiagnostics-color=always # Later: # -Wpartial-fields (currently used in Powerpoint writer) # -Wmissing-export-lists (currently some Odt modules violate this) @@ -14,7 +14,7 @@ quick: stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes $(TESTARGS)' quick-cabal: - cabal new-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' --enable-tests + cabal new-configure . --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests cabal new-build . --disable-optimization cabal new-install --symlink-bindir=$$HOME/.local/bin cabal new-run test-pandoc --disable-optimization -- --hide-successes $(TESTARGS) |