From df28f8cf9e9b82998810cf9bb0523b316836d56e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 1 Oct 2018 23:58:13 -0700 Subject: Makefile: added quick-cabal target as default. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index b18541aa4..b8d4d589f 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,11 @@ 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-cabal: + cabal new-build . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' --enable-tests + cabal new-install --symlink-bindir=$$HOME/.local/bin + cabal new-run test-pandoc --ghc-options '$(GHCOPTS)' --flags '+embed_data_files' -- -j4 --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)' -- cgit v1.2.3