aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 768d62169..77b6d85c0 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,10 @@ full:
stack install --flag 'pandoc:embed_data_files' --test --test-arguments='-j4' --pedantic
stack haddock
+# Note: to accept current results of golden tests,
+# make test TESTARGS='--accept'
test:
- stack test --flag 'pandoc:embed_data_files' --fast --test-arguments='-j4 --hide-successes'
+ stack test --flag 'pandoc:embed_data_files' --fast --test-arguments='-j4 --hide-successes $(TESTARGS)'
bench:
stack bench