diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-02 09:23:53 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-02 09:23:53 -0700 |
commit | 9e58730a74bb0bf4a430cb3384dfe569c2bf3340 (patch) | |
tree | 375f49c9954fa867cd8bfe4d29de84dfab16d931 /Makefile | |
parent | cc76c5e6b4d6a7e5b57220c0cd93f8e9adf86026 (diff) | |
download | pandoc-9e58730a74bb0bf4a430cb3384dfe569c2bf3340.tar.gz |
Makefile - make stack quick build the default
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)' |