From 0dd6121607bdf5d401664553763cbeff06c945a6 Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Tue, 4 Oct 2022 15:39:40 -0700 Subject: [PATCH 1/2] feat: make repl --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a60238394f..6c9248a505 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,11 @@ ci: c cabal-fmt: ./hack/bin/cabal-fmt.sh $(package) +# Get a ghci environment running for the given package. +.PHONY: repl +repl: cabal-fmt + cabal repl $(WIRE_CABAL_BUILD_OPTIONS) $(package) + # Use ghcid to watch a particular package. # pass target=package:name to specify which target is watched. .PHONY: ghcid From 017e92f5c8f9b61d6498479dd1f58cd13fa9ebc1 Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Tue, 4 Oct 2022 15:41:03 -0700 Subject: [PATCH 2/2] doc: changelog --- changelog.d/5-internal/make-repl | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/5-internal/make-repl diff --git a/changelog.d/5-internal/make-repl b/changelog.d/5-internal/make-repl new file mode 100644 index 0000000000..9539073b99 --- /dev/null +++ b/changelog.d/5-internal/make-repl @@ -0,0 +1 @@ +Add a Make target for ghci