diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-13 23:09:51 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-13 23:13:53 -0700 |
commit | 275594f7f77e9ebb6422d35bc4e6d4f439f6de8e (patch) | |
tree | 91f9fce3b3fe779650aa939c6d98191548b5e996 /Makefile | |
parent | c86e3d2b6fa567d88f60c9e85034cb92fa30c2dc (diff) | |
download | pandoc-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-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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)' |