aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-13 23:09:51 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-13 23:13:53 -0700
commit275594f7f77e9ebb6422d35bc4e6d4f439f6de8e (patch)
tree91f9fce3b3fe779650aa939c6d98191548b5e996 /Makefile
parentc86e3d2b6fa567d88f60c9e85034cb92fa30c2dc (diff)
downloadpandoc-275594f7f77e9ebb6422d35bc4e6d4f439f6de8e.tar.gz
Makefile: added full-cabal target.
Also, use cabal-new configure in quick-cabal and full-cabal.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6a140ff5d..eab8bb291 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,16 @@ quick:
stack install --resolver=$(RESOLVER) --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes $(TESTARGS)'
quick-cabal:
- cabal new-build . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files +trypandoc' --enable-tests --enable-benchmarks --only-dependencies
- cabal new-build . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files +trypandoc' --enable-tests --enable-benchmarks --disable-optimization
+ cabal new-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' --enable-tests
+ cabal new-build . --disable-optimization
cabal new-install --symlink-bindir=$$HOME/.local/bin
- cabal new-run test-pandoc --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' --disable-optimization -- --hide-successes $(TESTARGS)
+ cabal new-run test-pandoc --disable-optimization -- --hide-successes $(TESTARGS)
+
+full-cabal:
+ cabal new-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files +weigh-pandoc +trypandoc' --enable-tests --enable-benchmarks
+ cabal new-build . --disable-optimization
+ cabal new-install --symlink-bindir=$$HOME/.local/bin
+ cabal new-run test-pandoc --disable-optimization -- --hide-successes $(TESTARGS)
full:
stack install --resolver=$(RESOLVER) --flag 'pandoc:embed_data_files' --flag 'pandoc:weigh-pandoc' --flag 'pandoc:trypandoc' --bench --no-run-benchmarks --test --test-arguments='-j4 --hide-successes' --ghc-options '-Wall -Werror -fno-warn-unused-do-bind -O0 -j4 $(GHCOPTS)'