aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-13 22:36:09 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-13 22:36:09 -0700
commit7b863ba04ef6b995e15d197f81af1421e33772a5 (patch)
tree17a09bc68361a2433dd161cfe982548ccc002ba2 /Makefile
parent0ebe65e651766a2b3d006d3dee4afdfd43a386d5 (diff)
downloadpandoc-7b863ba04ef6b995e15d197f81af1421e33772a5.tar.gz
Modernize quick-cabal Makefile target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 47acb80dd..58dc8c9c6 100644
--- a/Makefile
+++ b/Makefile
@@ -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)'
quick-cabal:
- cabal v2-configure . --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests
- cabal v2-build -j4 . --disable-optimization
- cabal v2-run test-pandoc --disable-optimization -- --hide-successes --ansi-tricks=false $(TESTARGS)
+ cabal v2-build -j8 --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests
+ cabal v2-test --hide-successes --ansi-tricks=false $(TESTARGS)
full-cabal:
cabal v2-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files +trypandoc' --enable-tests --enable-benchmarks