@@ -3,7 +3,7 @@ pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
33SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
44BRANCH?=master
55RESOLVER?=lts-13
6−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
6+GHCOPTS=-fdiagnostics-color=always
77# Later:
88# -Wpartial-fields (currently used in Powerpoint writer)
99# -Wmissing-export-lists (currently some Odt modules violate this)
@@ -14,7 +14,7 @@ quick:
1414 stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes $(TESTARGS)'
1515
1616quick-cabal:
17− cabal new-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' --enable-tests
17+ cabal new-configure . --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests
1818 cabal new-build . --disable-optimization
1919 cabal new-install --symlink-bindir=$$HOME/.local/bin
2020 cabal new-run test-pandoc --disable-optimization -- --hide-successes $(TESTARGS)