aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-01-29 11:09:35 -0800
committerJohn MacFarlane <[email protected]>2024-01-29 11:11:39 -0800
commit8b539dbf1d0699e4724da11183b4bd8a2144e81d (patch)
treeeaada48552661aa0b5e042c77e1bd1a11f53884d /Makefile
parentb6ac32b1161eae21bbb9525415ed64d11adf7a54 (diff)
Makefile: change default rule to build THEN test.
That way we can play with the executable while the tests complete.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 13539b4d0..058b09309 100644
--- a/Makefile
+++ b/Makefile
@@ -19,14 +19,13 @@ REVISION?=1
BENCHARGS?=--csv bench_$(TIMESTAMP).csv $(BASELINECMD) --timeout=6 +RTS -T --nonmoving-gc -RTS $(if $(PATTERN),--pattern "$(PATTERN)",)
pandoc=$(shell cabal list-bin $(CABALOPTS) pandoc-cli)
-all: test build ## build executable and run tests
+all: build test binpath ## build executable and run tests
.PHONY: all
build: ## build executable
cabal build \
--ghc-options='$(GHCOPTS)' \
$(CABALOPTS) pandoc-cli
- @cabal list-bin $(CABALOPTS) --ghc-options='$(GHCOPTS)' pandoc-cli
.PHONY: build
binpath: ## print path of built pandoc executable