diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-05-21 21:56:50 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-05-21 21:56:50 -0700 |
commit | c17ace8c094be5ed7a9f30b344793e139a413945 (patch) | |
tree | 97d8dc1b49f20d71cced1ed3d0a4dc4e983297fa /Makefile | |
parent | 932093d1ad953eacbaf704d463f8cad59dcb0d9c (diff) | |
download | pandoc-c17ace8c094be5ed7a9f30b344793e139a413945.tar.gz |
Makefile: remove --resolver= from targets.
This causes unnecessary recompilation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -24,21 +24,21 @@ full-cabal: 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)' + stack install --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)' haddock: - stack haddock --resolver=$(RESOLVER) + stack haddock # Note: to accept current results of golden tests, # make test TESTARGS='--accept' test: - stack test --resolver=$(RESOLVER) --flag 'pandoc:embed_data_files' --fast --test-arguments='-j4 --hide-successes $(TESTARGS)' --ghc-options '$(GHCOPTS)' + stack test --flag 'pandoc:embed_data_files' --fast --test-arguments='-j4 --hide-successes $(TESTARGS)' --ghc-options '$(GHCOPTS)' bench: - stack bench --benchmark-arguments='$(BENCHARGS)' --resolver=$(RESOLVER) --ghc-options '$(GHCOPTS)' + stack bench --benchmark-arguments='$(BENCHARGS)' --ghc-options '$(GHCOPTS)' weigh: - stack build --resolver=$(RESOLVER) --ghc-options '$(GHCOPTS)' --flag 'pandoc:weigh-pandoc' && stack exec weigh-pandoc + stack build --ghc-options '$(GHCOPTS)' --flag 'pandoc:weigh-pandoc' && stack exec weigh-pandoc reformat: for f in $(SOURCEFILES); do echo $$f; stylish-haskell -i $$f ; done |