aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-02 09:23:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-02 09:23:53 -0700
commit9e58730a74bb0bf4a430cb3384dfe569c2bf3340 (patch)
tree375f49c9954fa867cd8bfe4d29de84dfab16d931 /Makefile
parentcc76c5e6b4d6a7e5b57220c0cd93f8e9adf86026 (diff)
downloadpandoc-9e58730a74bb0bf4a430cb3384dfe569c2bf3340.tar.gz
Makefile - make stack quick build the default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d9e4d318f..0dbc05a27 100644
--- a/Makefile
+++ b/Makefile
@@ -10,15 +10,15 @@ GHCOPTS=-fdiagnostics-color=always -Wall -fno-warn-unused-do-bind -Wincomplete-r
# -Wredundant-constraints (problematic if we want to support older base)
WEBSITE=../../web/pandoc.org
+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' --enable-tests --only-dependencies
cabal new-build . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' --enable-tests --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)
-quick:
- stack install --resolver=$(RESOLVER) --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --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)'