aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-08-25 15:38:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-08-25 15:38:17 -0700
commite2c4d1ccfc0ed8382954b32d6b7e1d084ee27aef (patch)
tree7e8e1f5b638a5cfa285038e5ab3412c2eeb205d4 /Makefile
parent188bd5e1e98f7bafe5936b1b4d1a001d0bd8954b (diff)
downloadpandoc-e2c4d1ccfc0ed8382954b32d6b7e1d084ee27aef.tar.gz
Makefile: add ghcid target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d8d4fa4d..98a9e21f9 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,9 @@ haddock:
test:
stack test --flag 'pandoc:embed_data_files' --fast --test-arguments='-j4 --hide-successes $(TESTARGS)' --ghc-options '$(GHCOPTS)'
+ghcid:
+ ghcid -c "stack repl --flag 'pandoc:embed_data_files'"
+
bench:
stack bench --benchmark-arguments='$(BENCHARGS)' --ghc-options '$(GHCOPTS)'
@@ -137,4 +140,4 @@ update-website:
clean:
stack clean
-.PHONY: deps quick full haddock install clean test bench changes_github macospkg dist prof download_stats reformat lint weigh doc/lua-filters.md packages pandoc-templates trypandoc update-website debpkg macospkg winpkg checkdocs
+.PHONY: deps quick full haddock install clean test bench changes_github macospkg dist prof download_stats reformat lint weigh doc/lua-filters.md packages pandoc-templates trypandoc update-website debpkg macospkg winpkg checkdocs ghcid