diff options
| author | John MacFarlane <[email protected]> | 2024-01-29 11:09:35 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-01-29 11:11:39 -0800 |
| commit | 8b539dbf1d0699e4724da11183b4bd8a2144e81d (patch) | |
| tree | eaada48552661aa0b5e042c77e1bd1a11f53884d /Makefile | |
| parent | b6ac32b1161eae21bbb9525415ed64d11adf7a54 (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-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
