Modernize quick-cabal Makefile target

This commit is contained in:
John MacFarlane 2021-09-13 22:36:09 -07:00
parent 0ebe65e651
commit 7b863ba04e

View file

@ -25,9 +25,8 @@ quick:
stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --ghc-options='$(GHCOPTS)' --test-arguments='-j4 --hide-successes --ansi-tricks=false $(TESTARGS)' stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --ghc-options='$(GHCOPTS)' --test-arguments='-j4 --hide-successes --ansi-tricks=false $(TESTARGS)'
quick-cabal: quick-cabal:
cabal v2-configure . --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests cabal v2-build -j8 --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests
cabal v2-build -j4 . --disable-optimization cabal v2-test --hide-successes --ansi-tricks=false $(TESTARGS)
cabal v2-run test-pandoc --disable-optimization -- --hide-successes --ansi-tricks=false $(TESTARGS)
full-cabal: full-cabal:
cabal v2-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files +trypandoc' --enable-tests --enable-benchmarks cabal v2-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files +trypandoc' --enable-tests --enable-benchmarks